lib/app_manager/config.rb in app_manager-1.3.9 vs lib/app_manager/config.rb in app_manager-1.4.0

- old
+ new

@@ -11,10 +11,11 @@ attr_accessor :shopify_table_name 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 def initialize @refresh_by_request_params = true @expires_in = 1.day @enable_caching = true @@ -22,10 +23,11 @@ @shopify_api_key = nil @shopify_api_version = nil @shopify_table_name = 'shops' @shopify_domain_field = 'shopify_domain' @plan_id_or_name_field = nil + @shopify_app_slug = 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 @@ -78,9 +80,13 @@ @field_names end def refresh_by_request_params? @refresh_by_request_params + end + + def shopify_app_slug + @shopify_app_slug end end end