Class: ActiveResource::Connection

Inherits:
Object
  • Object
show all
Defined in:
lib/Salesforce/rest/asf_connection.rb

Overview

This is the ‘connection’ that is used by the AsfRest Object.

Instance Method Summary collapse

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