Sha256: e047f6c46380553ff3a8c1605f825580a8cc8a9112c91854c663c6887ca2046a
Contents?: true
Size: 421 Bytes
Versions: 11
Compression:
Stored size: 421 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
11 entries across 11 versions & 1 rubygems