Class: Track

Inherits:
Object
  • Object
show all
Includes:
Interactor
Defined in:
app/interactors/track.rb

Instance Method Summary collapse

Instance Method Details

#callObject



8
9
10
11
12
13
14
# File 'app/interactors/track.rb', line 8

def call
  return unless enabled?

  tracker.event(category: 'bucket', action: 'record', label: token, value: 1) # , non_interactive: true)
rescue => e
  Rollbar.error(e, token: token)
end