Class: ActiveCampaignCrm::Client
- Inherits:
-
Object
- Object
- ActiveCampaignCrm::Client
- Includes:
- ContactFields, Contacts, CustomFieldValues, Organization, Tags
- Defined in:
- lib/active_campaign_crm/client.rb,
lib/active_campaign_crm/client/tags.rb,
lib/active_campaign_crm/client/contacts.rb,
lib/active_campaign_crm/client/organizations.rb,
lib/active_campaign_crm/client/contact_fields.rb,
lib/active_campaign_crm/client/custom_field_values.rb
Defined Under Namespace
Modules: ContactFields, Contacts, CustomFieldValues, Organization, Tags
Instance Method Summary collapse
-
#initialize ⇒ Client
constructor
A new instance of Client.
Methods included from Organization
#create_organization, #delete_organization, #find_or_create_organization, #organization, #organization_body, #organizations, #update_organization
Methods included from Tags
#add_tag_to_contact, #cached_tag_id, #contact_link_tag_body, #create_tag, #delete_tag, #sync_tag, #tag, #tag_body, #tags, #update_tag
Methods included from CustomFieldValues
#create_custom_field_value, #custom_field_value, #custom_field_value_body, #custom_field_values, #delete_custom_field_value, #update_custom_field_value
Methods included from ContactFields
#add_relationship_to_field, #cached_contact_field_id, #contact_field, #contact_field_body, #contact_fields, #create_contact_field, #custom_rel_body, #delete_contact_field, #find_or_create_contact_field, #find_or_create_field_with_relationship, #update_contact_field
Methods included from Contacts
#contact, #contact_body, #contacts, #create_contact, #delete_contact, #sync_contact, #update_contact
Constructor Details
#initialize ⇒ Client
Returns a new instance of Client.
7 8 9 |
# File 'lib/active_campaign_crm/client.rb', line 7 def initialize @connection = ActiveCampaignCrm::Connection.new end |