Sha256: c4c6b700b69b5846b767b90f72ab2a34e91a4f857a64fe15c27f11bb31a87fda
Contents?: true
Size: 606 Bytes
Versions: 1
Compression:
Stored size: 606 Bytes
Contents
require 'dashx/version' require 'dashx/config' require 'dashx/client' module DashX @clients = {} def self.configure(client_name = :default) yield config = DashX::Config.new @clients[client_name] = DashX::Client.new(config) end def self.deliver(urn, parcel) @clients[:default].deliver(urn, parcel) end def self.identify(uid, options) @clients[:default].identify(uid, options) end def self.track(event, uid, data) @clients[:default].track(event, uid, data) end def self.generate_identity_token(uid) @clients[:default].generate_identity_token(uid) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dashx-0.2.0 | lib/dashx.rb |