Class: ActionNetworkRest::Campaigns

Inherits:
Base
  • Object
show all
Defined in:
lib/action_network_rest/campaigns.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#all, #get, #list

Constructor Details

#initialize(client:) ⇒ Campaigns

Returns a new instance of Campaigns.



7
8
9
# File 'lib/action_network_rest/campaigns.rb', line 7

def initialize(client:)
  super(client: client)
end

Instance Attribute Details

#campaign_idObject

Returns the value of attribute campaign_id.



5
6
7
# File 'lib/action_network_rest/campaigns.rb', line 5

def campaign_id
  @campaign_id
end

Instance Method Details

#base_pathObject



11
12
13
# File 'lib/action_network_rest/campaigns.rb', line 11

def base_path
  'campaigns/'
end