Sha256: 40d5d6267c9644c8decea0c37f6f30309eb0e07f298a04339249984f6f093b41
Contents?: true
Size: 366 Bytes
Versions: 4
Compression:
Stored size: 366 Bytes
Contents
module Voucherify module Service class Events attr_reader :client def initialize(client) @client = client end def track(event, metadata, customer) @client.post('/events', { :event => event, :metadata => metadata, :customer => customer }.to_json) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems