lib/soapy_cake/admin.rb in soapy_cake-1.8.1 vs lib/soapy_cake/admin.rb in soapy_cake-1.9.0
- old
+ new
@@ -76,15 +76,15 @@
def caps(opts = {})
run Request.new(:admin, :reports, :caps, opts)
end
- def currencies(*)
+ def currencies
run Request.new(:admin, :get, :currencies, {})
end
- def tiers(*)
+ def tiers
run Request.new(:admin, :get, :affiliate_tiers, {})
end
def update_creative(opts = {})
run Request.new(:admin, :addedit, :creative, opts)
@@ -100,22 +100,26 @@
def affiliate_signup(opts = {})
run Request.new(:admin, :signup, :affiliate, opts)
end
- def verticals(*)
+ def media_types
+ run(Request.new(:admin, :signup, :get_media_types, {}))[:MediaType]
+ end
+
+ def verticals
run Request.new(:admin, :get, :verticals, {})
end
- def countries(*)
+ def countries
run Request.new(:admin, :get, :countries, {})
end
def payment_types
run Request.new(:admin, :get, :payment_types, {})
end
- def blacklist_reasons(*)
+ def blacklist_reasons
run Request.new(:admin, :get, :blacklist_reasons, {})
end
end
end