module DashX
Constants
- VERSION
Public Class Methods
configure(client_name = :default) { |config = config| ... }
click to toggle source
# File lib/dashx.rb, line 8 def self.configure(client_name = :default) yield config = DashX::Config.new @clients[client_name] = DashX::Client.new(config) end
generate_identity_token(uid)
click to toggle source
# File lib/dashx.rb, line 22 def self.generate_identity_token(uid) @clients[:default].generate_identity_token(uid) end
identify(uid = {}, options = {})
click to toggle source
# File lib/dashx.rb, line 14 def self.identify(uid = {}, options = {}) @clients[:default].identify(uid, options) end
track(event, uid, data)
click to toggle source
# File lib/dashx.rb, line 18 def self.track(event, uid, data) @clients[:default].track(event, uid, data) end