Module: BrazeRuby::Deprecated
- Included in:
- API
- Defined in:
- lib/braze_ruby/deprecated.rb
Instance Method Summary collapse
- #schedule_message(date, message, segment_id, local_timezone = false) ⇒ Object
- #send_message(message, user_ids, segment_ids = nil) ⇒ Object
- #track(attribute, events = [], purchases = []) ⇒ Object
Instance Method Details
#schedule_message(date, message, segment_id, local_timezone = false) ⇒ Object
15 16 17 18 |
# File 'lib/braze_ruby/deprecated.rb', line 15 def (date, , segment_id, local_timezone = false) warn("[BrazeRuby] `schedule_message` is deprecated. Please use `schedule_messages` instead.") (send_at: date, messages: , segment_id: segment_id, local_timezone: local_timezone) end |
#send_message(message, user_ids, segment_ids = nil) ⇒ Object
10 11 12 13 |
# File 'lib/braze_ruby/deprecated.rb', line 10 def (, user_ids, segment_ids = nil) warn("[BrazeRuby] `send_message` is deprecated. Please use `send_messages` instead.") (messages: , user_ids: user_ids, segment_ids: segment_ids) end |
#track(attribute, events = [], purchases = []) ⇒ Object
5 6 7 8 |
# File 'lib/braze_ruby/deprecated.rb', line 5 def track(attribute, events = [], purchases = []) warn("[BrazeRuby] `track` is deprecated. Please use `track_users` instead.") track_users(attribute: attribute, events: events, purchases: purchases) end |