lib/braze_ruby/endpoints/campaigns.rb in braze_ruby-0.3.3 vs lib/braze_ruby/endpoints/campaigns.rb in braze_ruby-0.4.0
- old
+ new
@@ -2,10 +2,10 @@
module BrazeRuby
module Endpoints
module Campaigns
def trigger_campaign_send(**payload)
- BrazeRuby::REST::TriggerCampaignSend.new(api_key, braze_url, options, payload).perform
+ BrazeRuby::REST::TriggerCampaignSend.new(api_key, braze_url, options, **payload).perform
end
end
end
end