Method: HTTP::Put#create_request

Defined in:
lib/http_client/mri/methods.rb

#create_requestObject



109
110
111
112
113
# File 'lib/http_client/mri/methods.rb', line 109

def create_request
  host, port, path, query = parse_uri
  put = Net::HTTP::Put.new(path)
  [host, port, put]
end