Class: OAuth::RequestProxy::TyphoeusRequest

Inherits:
Base
  • Object
show all
Defined in:
lib/oauth/request_proxy/typhoeus_request.rb

Instance Method Summary collapse

Instance Method Details

#methodObject



8
9
10
# File 'lib/oauth/request_proxy/typhoeus_request.rb', line 8

def method
  request.method.to_s.upcase
end

#parametersObject



16
17
18
19
20
21
22
# File 'lib/oauth/request_proxy/typhoeus_request.rb', line 16

def parameters
  if options[:clobber_request]
    options[:parameters]
  else
    all_parameters
  end
end

#uriObject



12
13
14
# File 'lib/oauth/request_proxy/typhoeus_request.rb', line 12

def uri
  request.url
end