Sha256: cd65596f7d4c615b393f097151281f8d6a4a8acb77a52eb2926f6e1408abe653
Contents?: true
Size: 484 Bytes
Versions: 7
Compression:
Stored size: 484 Bytes
Contents
module Tamber class Event < APIResource extend Tamber::APIOperations::Retrieve def self.track_url url + '/track' end def self.batch_url url + '/batch' end def self.track(params={}) response = request(:post, self.track_url, params) Util.convert_to_tamber_object(response) end def self.batch(params={}) response = request(:post, self.batch_url, params) Util.convert_to_tamber_object(response) end end end
Version data entries
7 entries across 7 versions & 1 rubygems