Sha256: 2eee9a9000bf0e2eb691c75b89b0f49fc9a2bf7d18c32ec75c1c9039e49be7f5
Contents?: true
Size: 869 Bytes
Versions: 1
Compression:
Stored size: 869 Bytes
Contents
# frozen_string_literal: true module BrazeRuby module Deprecated def track(attribute, events = [], purchases = []) warn("[BrazeRuby] `track` is deprecated. Please use `track_users` instead.") track_users(attribute: attribute, events: events, purchases: purchases) end def send_message(message, user_ids, segment_ids = nil) warn("[BrazeRuby] `send_message` is deprecated. Please use `send_messages` instead.") send_messages(messages: message, user_ids: user_ids, segment_ids: segment_ids) end def schedule_message(date, message, segment_id, local_timezone = false) warn("[BrazeRuby] `schedule_message` is deprecated. Please use `schedule_messages` instead.") schedule_messages(send_at: date, messages: message, segment_id: segment_id, local_timezone: local_timezone) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
braze_ruby-0.5.0 | lib/braze_ruby/deprecated.rb |