lib/app_manager/client/plans.rb in app_manager-1.1.0 vs lib/app_manager/client/plans.rb in app_manager-1.1.1
- old
+ new
@@ -1,10 +1,10 @@
module AppManager
class Client
module Plans
- def get_plans(options = {})
- get("/plans", options)
+ def get_plans(shop_domain)
+ get("/plans?shop_domain=#{shop_domain}")
end
def get_plan(plan_id,shop_domain=nil)
get("/plan?plan_id=#{plan_id}&shop_domain=#{shop_domain}")
end
\ No newline at end of file