Sha256: c7449a2f12a8b006059d201f54355ab06b9de9955aca42add5a256bd88753aa1

Contents?: true

Size: 904 Bytes

Versions: 7

Compression:

Stored size: 904 Bytes

Contents

ShopifyApp.configure do |config|
  config.application_name = "<%= @application_name %>"
  config.api_key = ENV['SHOPIFY_API_KEY']
  config.secret = ENV['SHOPIFY_API_SECRET']
  config.old_secret = "<%= @old_secret %>"
  config.scope = "<%= @scope %>" # Consult this page for more scope options:
                                 # https://help.shopify.com/en/api/getting-started/authentication/oauth/scopes
  config.embedded_app = <%= embedded_app? %>
  config.after_authenticate_job = false
  config.api_version = "<%= @api_version %>"
  config.session_repository = ShopifyApp::InMemorySessionStore
end

# ShopifyApp::Utils.fetch_known_api_versions                        # Uncomment to fetch known api versions from shopify servers on boot
# ShopifyAPI::ApiVersion.version_lookup_mode = :raise_on_unknown    # Uncomment to raise an error if attempting to use an api version that was not previously known

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
shopify_app-11.5.0 lib/generators/shopify_app/install/templates/shopify_app.rb
shopify_app-11.4.0 lib/generators/shopify_app/install/templates/shopify_app.rb
shopify_app-11.3.2 lib/generators/shopify_app/install/templates/shopify_app.rb
shopify_app-11.3.1 lib/generators/shopify_app/install/templates/shopify_app.rb
shopify_app-11.3.0 lib/generators/shopify_app/install/templates/shopify_app.rb
shopify_app-11.2.0 lib/generators/shopify_app/install/templates/shopify_app.rb
shopify_app-11.1.0 lib/generators/shopify_app/install/templates/shopify_app.rb