Method: Outbound.track

Defined in:
lib/outbound.rb

.track(user_id, event, properties = {}, timestamp = Time.now.to_i) ⇒ Object



57
58
59
60
61
62
63
64
# File 'lib/outbound.rb', line 57

def Outbound.track(user_id, event, properties={}, timestamp=Time.now.to_i)
  if @ob == nil
    res = Result.new Outbound::ERROR_INIT, false
    @logger.error res.error
    return res
  end
  return @ob.track(user_id, event, properties, timestamp)
end