Class: ActsAsIcontact::Account
- Defined in:
- lib/acts_as_icontact/resources/account.rb
Overview
The top-level Accounts resource from iContact. Currently only supports retrieval – and is highly targeted toward the first account, since that seems to be the dominant use case.
Class Method Summary collapse
-
.base ⇒ Object
This is the one major resource that comes directly from the main path.
-
.never_on_update ⇒ Object
Accounts can’t pass back a userName or password on updating.
- .uri_component ⇒ Object
Methods inherited from Resource
#==, all, #connection, #error, #errors, find, find_by_id, first, #id, #initialize, #method_missing, #new_record?, #save, #save!
Constructor Details
This class inherits a constructor from ActsAsIcontact::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ActsAsIcontact::Resource
Class Method Details
.base ⇒ Object
This is the one major resource that comes directly from the main path.
6 7 8 |
# File 'lib/acts_as_icontact/resources/account.rb', line 6 def self.base ActsAsIcontact.connection end |
.never_on_update ⇒ Object
Accounts can’t pass back a userName or password on updating
15 16 17 |
# File 'lib/acts_as_icontact/resources/account.rb', line 15 def self.never_on_update ['userName','password'] end |
.uri_component ⇒ Object
10 11 12 |
# File 'lib/acts_as_icontact/resources/account.rb', line 10 def self.uri_component 'a' end |