Sha256: a6bf91917e7ef65b4206b91c96a0e9d0eb59ca513400752efb43ac67723b1618
Contents?: true
Size: 529 Bytes
Versions: 2
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true module BrazeRuby module REST class SendMessages < Base attr_reader :messages, :external_user_ids def initialize(api_key, braze_url, options, messages: [], external_user_ids: []) @messages = messages @external_user_ids = external_user_ids super(api_key, braze_url, options) end def perform http.post "/messages/send", { messages: messages, external_user_ids: external_user_ids } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
braze_ruby-0.10.0 | lib/braze_ruby/rest/send_messages.rb |
braze_ruby-0.9.0 | lib/braze_ruby/rest/send_messages.rb |