Class: OAuth::RequestProxy::Typhoeus::Request
- Defined in:
- lib/oauth/request_proxy/typhoeus_request.rb
Instance Attribute Summary
Attributes inherited from Base
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
#method ⇒ Object
21 22 23 |
# File 'lib/oauth/request_proxy/typhoeus_request.rb', line 21 def method request.method.to_s.upcase end |
#parameters ⇒ Object
29 30 31 32 33 34 35 |
# File 'lib/oauth/request_proxy/typhoeus_request.rb', line 29 def parameters if [:clobber_request] [:parameters] else post_parameters.merge(query_parameters).merge([:parameters] || {}) end end |
#uri ⇒ Object
25 26 27 |
# File 'lib/oauth/request_proxy/typhoeus_request.rb', line 25 def uri [:uri].to_s end |