Sha256: f2ab17d908be33e324020cbd91fa1ae63541b428aa4a740568c8cb58dfd143b3
Contents?: true
Size: 420 Bytes
Versions: 13
Compression:
Stored size: 420 Bytes
Contents
# frozen_string_literal: true 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
13 entries across 13 versions & 1 rubygems