lib/app_manager/client/plans.rb in app_manager-1.1.7 vs lib/app_manager/client/plans.rb in app_manager-1.1.8

- old
+ new

@@ -1,10 +1,10 @@ module AppManager class Client module Plans - def get_plans(shop_domain) - get("/plans?shop_domain=#{shop_domain}") + def get_plans(shop_domain,active_plan_id=nil) + get("/plans?shop_domain=#{shop_domain}&active_plan_id=#{active_plan_id}") 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