lib/app_manager/client/plans.rb in app_manager-2.3.3 vs lib/app_manager/client/plans.rb in app_manager-2.3.4
- old
+ new
@@ -41,9 +41,13 @@
def has_plan(shop_domain, plan_id, trial_activated_at, grandfathered)
get("/has-plan?shop_domain=#{shop_domain}&plan_id=#{plan_id}&trial_activated_at=#{trial_activated_at}&grandfathered=#{grandfathered}")
end
+ def get_bundle_plan(active_plan_id = nil)
+ get("/get-bundle-plan", {active_plan_id: active_plan_id})
+ end
+
def get_app_bundle_data
get("/app-bundle-data")
end
def check_and_activate_global_plan(shop_domain)
\ No newline at end of file