class HTTP::Response
def init_request(opts)
-
(HTTP::Request)
-
def init_request(opts) raise ArgumentError, ":uri is for backwards compatibilty and conflicts with :request" \ if opts[:request] && opts[:uri] # For backwards compatibilty if opts[:uri] HTTP::Request.new(:uri => opts[:uri], :verb => :get) else opts.fetch(:request) end end