Class: Appboy::REST::TrackUsers

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

Instance Method Summary collapse

Instance Method Details

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



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

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