Class: ActiveCampaignWrapper::Core::EmailActivityGateway
- Inherits:
-
Object
- Object
- ActiveCampaignWrapper::Core::EmailActivityGateway
- Defined in:
- lib/active_campaign_wrapper/core/email_activity_gateway.rb
Instance Method Summary collapse
- #all(**params) ⇒ Object
-
#initialize(client) ⇒ EmailActivityGateway
constructor
A new instance of EmailActivityGateway.
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 |