Module: BrazeRuby::Endpoints::Campaigns

Included in:
API
Defined in:
lib/braze_ruby/endpoints/campaigns.rb

Instance Method Summary collapse

Instance Method Details

#delete_campaign_trigger_schedule(**payload) ⇒ Object



6
7
8
# File 'lib/braze_ruby/endpoints/campaigns.rb', line 6

def delete_campaign_trigger_schedule(**payload)
  BrazeRuby::REST::DeleteTriggerCampaignSchedule.new(api_key, braze_url, options).perform(**payload)
end

#trigger_campaign_schedule(**payload) ⇒ Object



14
15
16
# File 'lib/braze_ruby/endpoints/campaigns.rb', line 14

def trigger_campaign_schedule(**payload)
  BrazeRuby::REST::TriggerCampaignSchedule.new(api_key, braze_url, options, **payload).perform
end

#trigger_campaign_send(**payload) ⇒ Object



10
11
12
# File 'lib/braze_ruby/endpoints/campaigns.rb', line 10

def trigger_campaign_send(**payload)
  BrazeRuby::REST::TriggerCampaignSend.new(api_key, braze_url, options, **payload).perform
end