Class: OAuth::RequestProxy::Curl::Easy

Inherits:
Base show all
Defined in:
lib/oauth/request_proxy/curb_request.rb

Instance Attribute Summary

Attributes inherited from Base

#options, #request, #unsigned_parameters

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, #query_string_blank?, #sign, #sign!, #signature_base_string, #signed?, #signed_uri

Methods included from Helper

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

Constructor Details

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

Instance Method Details

#methodObject



18
19
20
# File 'lib/oauth/request_proxy/curb_request.rb', line 18

def method
  nil
end

#parametersObject



26
27
28
29
30
31
32
# File 'lib/oauth/request_proxy/curb_request.rb', line 26

def parameters
  if options[:clobber_request]
    options[:parameters]
  else
    post_parameters.merge(query_parameters).merge(options[:parameters] || {})
  end
end

#uriObject



22
23
24
# File 'lib/oauth/request_proxy/curb_request.rb', line 22

def uri
  options[:uri].to_s
end