class ActiveCampaignWrapper::Client

Attributes

config[R]

Public Class Methods

new(endpoint_url: nil, api_token: nil) click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 32
def initialize(endpoint_url: nil, api_token: nil)
  @config = Configuration.new(
    endpoint_url: endpoint_url,
    api_token: api_token
  )
end

Public Instance Methods

contact_automations() click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 59
def contact_automations
  @contact_automations ||= ContactAutomationGateway.new(self)
end
contact_score_values() click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 55
def contact_score_values
  @contact_score_values ||= ContactScoreValueGateway.new(self)
end
contact_tags() click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 51
def contact_tags
  @contact_tags ||= ContactTagGateway.new(self)
end
contacts() click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 43
def contacts
  @contacts ||= ContactGateway.new(self)
end
custom_field_options() click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 67
def custom_field_options
  @custom_field_options ||= CustomFieldOptionGateway.new(self)
end
custom_field_values() click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 71
def custom_field_values
  @custom_field_values ||= CustomFieldValueGateway.new(self)
end
custom_fields() click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 63
def custom_fields
  @custom_fields ||= CustomFieldGateway.new(self)
end
email_activities() click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 47
def email_activities
  @email_activities ||= EmailActivityGateway.new(self)
end
groups() click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 79
def groups
  @groups ||= GroupGateway.new(self)
end
list_groups() click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 83
def list_groups
  @list_groups ||= ListGroupGateway.new(self)
end
lists() click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 75
def lists
  @lists ||= ListGateway.new(self)
end
tags() click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 39
def tags
  @tags ||= TagGateway.new(self)
end
task_types() click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 95
def task_types
  @task_types ||= TaskTypeGateway.new(self)
end
templates() click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 91
def templates
  @templates ||= TemplateGateway.new(self)
end
users() click to toggle source
# File lib/active_campaign_wrapper/client.rb, line 87
def users
  @users ||= UserGateway.new(self)
end