Class: ActionNetworkRest::Campaigns
- Defined in:
- lib/action_network_rest/campaigns.rb
Instance Attribute Summary collapse
-
#campaign_id ⇒ Object
Returns the value of attribute campaign_id.
Instance Method Summary collapse
- #base_path ⇒ Object
-
#initialize(client:) ⇒ Campaigns
constructor
A new instance of Campaigns.
Methods inherited from Base
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_id ⇒ Object
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_path ⇒ Object
11 12 13 |
# File 'lib/action_network_rest/campaigns.rb', line 11 def base_path 'campaigns/' end |