Sha256: 1ced92e22975199365ca8cc537bb230259d61a11dadb76244518058840b752e1

Contents?: true

Size: 354 Bytes

Versions: 6

Compression:

Stored size: 354 Bytes

Contents

module BrazeRuby
  module REST
    class TrackUsers < Base
      def perform(api_key, attributes: [], events: [], purchases: [])
        http.post '/users/track', {
          'api_key':        api_key,
          'attributes':     attributes,
          'events':         events,
          'purchases':      purchases
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
braze_ruby-0.2.2 lib/braze_ruby/rest/track_users.rb
braze_ruby-0.2.1 lib/braze_ruby/rest/track_users.rb
braze_ruby-0.2.0 lib/braze_ruby/rest/track_users.rb
braze_ruby-0.1.0 lib/braze_ruby/rest/track_users.rb
braze_ruby-0.0.2 lib/braze_ruby/rest/track_users.rb
braze_ruby-0.0.1 lib/braze_ruby/rest/track_users.rb