Class: OAuth::RequestProxy::Net::HTTP::HTTPRequest

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

Instance Attribute Summary

Attributes inherited from Base

#options, #request

Instance Method Summary collapse

Methods inherited from Base

#initialize, #non_oauth_parameters, #normalized_parameters, #normalized_uri, #oauth_callback, #oauth_consumer_key, #oauth_header, #oauth_nonce, #oauth_parameters, #oauth_signature, #oauth_signature_method, #oauth_timestamp, #oauth_token, #oauth_verifier, #oauth_version, #parameters_for_signature, proxies, #sign, #sign!, #signature_base_string, #signed?, #signed_uri

Methods included from Helper

#escape, #generate_key, #generate_timestamp, #normalize, #parse_header, #unescape

Constructor Details

This class inherits a constructor from OAuth::RequestProxy::Base

Instance Method Details

#methodObject



11
12
13
# File 'lib/oauth/request_proxy/net_http.rb', line 11

def method
  request.method
end

#parametersObject



20
21
22
23
24
25
26
# File 'lib/oauth/request_proxy/net_http.rb', line 20

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

#uriObject



15
16
17
18
# File 'lib/oauth/request_proxy/net_http.rb', line 15

def uri
  uri = options[:uri]
  uri.to_s
end