class SoapyCake::Affiliate
Public Instance Methods
bills(opts = {})
click to toggle source
# File lib/soapy_cake/affiliate.rb, line 5 def bills(opts = {}) run Request.new(:affiliate, :reports, :bills, affiliate_opts(opts)) end
offer_feed(opts = {})
click to toggle source
# File lib/soapy_cake/affiliate.rb, line 9 def offer_feed(opts = {}) run Request.new(:affiliate, :offers, :offer_feed, affiliate_opts(opts)) end
Private Instance Methods
affiliate_opts(opts)
click to toggle source
# File lib/soapy_cake/affiliate.rb, line 15 def affiliate_opts(opts) { affiliate_id: self.opts[:affiliate_id] }.merge(opts) end