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(attributes: [], events: [], purchases: []) ⇒ Object



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

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