Class: ActiveResource::Connection
- Inherits:
-
Object
- Object
- ActiveResource::Connection
- Defined in:
- lib/Salesforce/rest/asf_connection.rb
Overview
This is the ‘connection’ that is used by the AsfRest Object.
Instance Method Summary collapse
-
#set_header(key, value) ⇒ Object
Allowing you to set headers and keys.
Instance Method Details
#set_header(key, value) ⇒ Object
Allowing you to set headers and keys
25 26 27 |
# File 'lib/Salesforce/rest/asf_connection.rb', line 25 def set_header(key, value) default_header.update(key => value) end |