Class: RestClient::Request

Inherits:
Object
  • Object
show all
Includes:
SimpleHmac::Helper
Defined in:
lib/rest-client/request.rb

Instance Method Summary collapse

Methods included from SimpleHmac::Helper

#authentication_headers, #digest_md5, #hmac_token, #sign_string

Instance Method Details

#sign!(api_id, api_secret, options = {}) ⇒ Object



5
6
7
# File 'lib/rest-client/request.rb', line 5

def sign!(api_id, api_secret, options={})
  processed_headers.merge! authentication_headers(method, processed_headers['Content-Type'], payload, url, api_id, api_secret, options={})
end