Class: BrazeRuby::REST::TrackUsers

Inherits:
Base
  • Object
show all
Defined in:
lib/braze_ruby/rest/track_users.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from BrazeRuby::REST::Base

Instance Method Details

#perform(api_key, attributes: [], events: [], purchases: []) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/braze_ruby/rest/track_users.rb', line 4

def perform(api_key, attributes: [], events: [], purchases: [])
  http.post '/users/track', {
    'api_key':        api_key,
    'attributes':     attributes,
    'events':         events,
    'purchases':      purchases
  }
end