Class: BrazeRuby::REST::ScheduledBroadcasts
- Defined in:
- lib/braze_ruby/rest/scheduled_broadcasts.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(api_key, braze_url, options, **params) ⇒ ScheduledBroadcasts
constructor
A new instance of ScheduledBroadcasts.
- #perform ⇒ Object
Constructor Details
#initialize(api_key, braze_url, options, **params) ⇒ ScheduledBroadcasts
Returns a new instance of ScheduledBroadcasts.
8 9 10 11 |
# File 'lib/braze_ruby/rest/scheduled_broadcasts.rb', line 8 def initialize(api_key, braze_url, , **params) @params = params super(api_key, braze_url, ) end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
6 7 8 |
# File 'lib/braze_ruby/rest/scheduled_broadcasts.rb', line 6 def params @params end |
Instance Method Details
#perform ⇒ Object
13 14 15 16 17 |
# File 'lib/braze_ruby/rest/scheduled_broadcasts.rb', line 13 def perform http.post "/messages/scheduled_broadcasts", { **@params } end |