lib/soapy_cake/admin.rb in soapy_cake-1.11.5 vs lib/soapy_cake/admin.rb in soapy_cake-1.11.6
- old
+ new
@@ -33,11 +33,11 @@
def offers(opts = {})
run Request.new(:admin, :export, :offers, opts)
end
def creatives(opts = {})
- translate_values!(opts, %i(creative_type_id creative_status_id))
+ opts = translate_values(opts, %i(creative_type_id creative_status_id))
run Request.new(:admin, :export, :creatives, opts)
end
def campaign_summary(opts = {})
@@ -76,10 +76,10 @@
run Request.new(:admin, :reports, :traffic_export, opts)
end
def caps(opts)
require_params(opts, %i(start_date end_date))
- translate_values!(opts, %i(cap_type_id))
+ opts = translate_values(opts, %i(cap_type_id))
run Request.new(:admin, :reports, :caps, opts)
end
def exchange_rates(opts)