Module: BrazeRuby::Endpoints::ScheduleMessages

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

Instance Method Summary collapse

Instance Method Details

#schedule_messages(**payload) ⇒ Object



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

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

#scheduled_messages(**payload) ⇒ Object



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

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