Sha256: 27f4d24be7e0715e124683b720b3dc7c1c4d61aa85af6f559ab593f18f06f775
Contents?: true
Size: 528 Bytes
Versions: 4
Compression:
Stored size: 528 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
4 entries across 4 versions & 1 rubygems