lib/dashx.rb in dashx-0.1.0 vs lib/dashx.rb in dashx-0.1.1
- old
+ new
@@ -8,9 +8,13 @@
def self.configure(client_name = :default)
yield config = DashX::Config.new
@clients[client_name] = DashX::Client.new(config)
end
+
+ def self.deliver(parcel)
+ @clients[:default].deliver(parcel)
+ end
def self.identify(uid = {}, options = {})
@clients[:default].identify(uid, options)
end