lib/app_manager/config.rb in app_manager-1.6.1 vs lib/app_manager/config.rb in app_manager-1.6.2
- old
+ new
@@ -12,10 +12,11 @@
attr_accessor :shopify_domain_field
attr_accessor :plan_id_or_name_field
attr_accessor :field_names
attr_accessor :refresh_by_request_params
attr_accessor :shopify_app_slug
+ attr_accessor :plan_page_route
def initialize
@refresh_by_request_params = true
@expires_in = 1.day
@enable_caching = true
@@ -24,10 +25,11 @@
@shopify_api_version = nil
@shopify_table_name = 'shops'
@shopify_domain_field = 'shopify_domain'
@plan_id_or_name_field = nil
@shopify_app_slug = nil
+ @plan_page_route = nil
@field_names = {
'name' => 'shopify_domain', # sample example: demo-chirag-parmar.myshopify.com
'shopify_email' => 'email', # chirag.p@hulkapps.com
'shopify_token' => 'shopify_token',
'shopify_plan' => 'plan_name', # partner_test
@@ -84,9 +86,13 @@
@refresh_by_request_params
end
def shopify_app_slug
@shopify_app_slug
+ end
+
+ def plan_page_route
+ @plan_page_route
end
end
end