Class: SoapyCake::Affiliate

Inherits:
Client
  • Object
show all
Defined in:
lib/soapy_cake/affiliate.rb

Constant Summary

Constants inherited from Client

Client::HEADERS

Instance Method Summary collapse

Methods inherited from Client

#initialize, #read_only?, #run, #xml_response?

Constructor Details

This class inherits a constructor from SoapyCake::Client

Instance Method Details

#bills(opts = {}) ⇒ Object



5
6
7
# File 'lib/soapy_cake/affiliate.rb', line 5

def bills(opts = {})
  run Request.new(:affiliate, :reports, :bills, affiliate_opts(opts))
end

#offer_feed(opts = {}) ⇒ Object



9
10
11
# File 'lib/soapy_cake/affiliate.rb', line 9

def offer_feed(opts = {})
  run Request.new(:affiliate, :offers, :offer_feed, affiliate_opts(opts))
end