Class: ActiveCampaignWrapper::Core::EmailActivityGateway

Inherits:
Object
  • Object
show all
Defined in:
lib/active_campaign_wrapper/core/email_activity_gateway.rb

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ EmailActivityGateway

Returns a new instance of EmailActivityGateway.



6
7
8
9
# File 'lib/active_campaign_wrapper/core/email_activity_gateway.rb', line 6

def initialize(client)
  @client = client
  @config = client.config
end

Instance Method Details

#all(**params) ⇒ Object



11
12
13
# File 'lib/active_campaign_wrapper/core/email_activity_gateway.rb', line 11

def all(**params)
  @config.get('/emailActivities', query: params)
end