Module: Persistiq::Client::Campaign

Included in:
Persistiq::Client
Defined in:
lib/persistiq/resources/campaign.rb

Instance Method Summary collapse

Instance Method Details

#add_leads_to_campaign(id, options = {}) ⇒ Object



9
10
11
# File 'lib/persistiq/resources/campaign.rb', line 9

def add_leads_to_campaign(id, options={})
  post(campaign_path(id), options)
end

#list_campaigns(paginate = true) ⇒ Object



5
6
7
# File 'lib/persistiq/resources/campaign.rb', line 5

def list_campaigns(paginate = true)
  get(campaign_path)
end