Sha256: c1e8ec2eecbb8bea456e00195345e06ce7a8276f82930071b92acad2c2b024cb
Contents?: true
Size: 995 Bytes
Versions: 1
Compression:
Stored size: 995 Bytes
Contents
module SoapyCake class AdminTrack < Client include Helper CONVERSION_DEFAULTS = { add_to_existing_payout: false, received_option: 'total_revenue', received: 0, disposition_type: 'no_change', update_revshare_payout: false, effective_date_option: 'today', notes_to_append: '', disallow_on_billing_status: 'ignore' }.freeze def mass_conversion_insert(opts) require_params(opts, %i( conversion_date affiliate_id sub_affiliate campaign_id creative_id total_to_insert )) run Request.new(:admin, :track, :mass_conversion_insert, opts) end def update_conversion(opts) require_params(opts, %i(offer_id payout)) run Request.new(:admin, :track, :update_conversion, CONVERSION_DEFAULTS.merge(opts)) end def decrypt_affiliate_link(opts = {}) run Request.new(:admin, :track, :decrypt_affiliate_link, opts) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
soapy_cake-1.21.0 | lib/soapy_cake/admin_track.rb |