Class: SalesforceChatter::API
- Inherits:
-
Object
- Object
- SalesforceChatter::API
- Includes:
- Authentication, Connection, Request
- Defined in:
- lib/salesforce-chatter/api.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ API
constructor
Creates a new API.
Methods included from Authentication
#authenticate, #authenticated?, #authentication
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ API
Creates a new API
12 13 14 15 16 17 18 |
# File 'lib/salesforce-chatter/api.rb', line 12 def initialize(={}) self.oauth_token = .delete :oauth_token = SalesforceChatter..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |