lib/app_manager/client/plans.rb in app_manager-2.2.4 vs lib/app_manager/client/plans.rb in app_manager-2.3.0
- old
+ new
@@ -41,9 +41,17 @@
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_app_bundle_data
+ get("/app-bundle-data")
+ end
+
+ def check_and_activate_global_plan(shop_domain)
+ get("/activate-global-plan?shop_domain=#{shop_domain}")
+ end
+
def get_promotional_discount(shop_domain = nil,code)
get("/discount?shop_domain=#{shop_domain}&code=#{code}")
end
def discount_used(shop_domain, discount_id)
\ No newline at end of file