module Adjust
Constants
- VERSION
Public Class Methods
current_time()
click to toggle source
# File lib/adjust.rb, line 31 def current_time return Time.zone.now.iso8601 if Time.respond_to? :zone Time.now.utc.iso8601 end
event(app:, event:, time: current_time, **device)
click to toggle source
# File lib/adjust.rb, line 13 def event(app:, event:, time: current_time, **device) Clients::Event.new( **tokens(app, event), environment: environment, created_at: time, **device) end
revenue(app:, event:, revenue:, currency:, time: current_time, **device)
click to toggle source
# File lib/adjust.rb, line 21 def revenue(app:, event:, revenue:, currency:, time: current_time, **device) Clients::Revenue.new( **tokens(app, event), environment: environment, created_at: time, revenue: revenue, currency: currency, **device) end