Sha256: f64823bfe221399893d6375e7f4b70b3b1fcc07c1fe45bfade51bc3a4ac9f73d

Contents?: true

Size: 364 Bytes

Versions: 4

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true

module BrazeRuby
  module REST
    class TriggerCampaignSend < Base
      attr_reader :params

      def initialize(api_key, braze_url, options, **params)
        @params = params
        super api_key, braze_url, options
      end

      def perform
        http.post("/campaigns/trigger/send", @params)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
braze_ruby-0.8.0 lib/braze_ruby/rest/trigger_campaign_send.rb
braze_ruby-0.7.0 lib/braze_ruby/rest/trigger_campaign_send.rb
braze_ruby-0.6.0 lib/braze_ruby/rest/trigger_campaign_send.rb
braze_ruby-0.5.0 lib/braze_ruby/rest/trigger_campaign_send.rb