Class: ActsAsIcontact::ClientFolder
- Defined in:
- lib/acts_as_icontact/resources/client.rb
Overview
The nested Client Folder resource from iContact. Currently only supports retrieval – and is highly targeted toward the first client folder, since that seems to be the dominant use case.
Class Method Summary collapse
-
.base ⇒ Object
Derives from the Account resource.
- .collection_name ⇒ Object
- .resource_name ⇒ Object
- .uri_component ⇒ Object
Methods inherited from Resource
#==, all, #connection, #error, #errors, find, find_by_id, first, #id, #initialize, #inspect, #method_missing, #new_record?, #property_names, #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
Derives from the Account resource.
6 7 8 |
# File 'lib/acts_as_icontact/resources/client.rb', line 6 def self.base ActsAsIcontact.account end |
.collection_name ⇒ Object
14 15 16 |
# File 'lib/acts_as_icontact/resources/client.rb', line 14 def self.collection_name 'clientfolders' end |
.resource_name ⇒ Object
10 11 12 |
# File 'lib/acts_as_icontact/resources/client.rb', line 10 def self.resource_name 'clientfolder' end |
.uri_component ⇒ Object
18 19 20 |
# File 'lib/acts_as_icontact/resources/client.rb', line 18 def self.uri_component 'c' end |