Sha256: 8f87c20710504157ffa29d1509f78630e909423eab1b9163e3d9789a9b5a8c27
Contents?: true
Size: 390 Bytes
Versions: 62
Compression:
Stored size: 390 Bytes
Contents
module SoapyCake class Affiliate < Client def bills(opts = {}) run Request.new(:affiliate, :reports, :bills, affiliate_opts(opts)) end def offer_feed(opts = {}) run Request.new(:affiliate, :offers, :offer_feed, affiliate_opts(opts)) end private def affiliate_opts(opts) { affiliate_id: self.opts[:affiliate_id] }.merge(opts) end end end
Version data entries
62 entries across 62 versions & 1 rubygems