Sha256: e07cb06ae076140e0b29be8b1d3de139ae16e2c13eb81c4e23f47d8d33a5f2db

Contents?: true

Size: 1.27 KB

Versions: 36

Compression:

Stored size: 1.27 KB

Contents

DiscoApp::Engine.routes.default_url_options[:host] = ENV['DEFAULT_HOST']

DiscoApp.configure do |config|
  # Required configuration.
  config.app_name = ENV['SHOPIFY_APP_NAME']

  # Set a list of webhook topics to listen for.
  # See https://help.shopify.com/api/reference/webhook.
  config.webhook_topics = []

  # Set the below if using an application proxy.
  config.app_proxy_prefix = ENV['SHOPIFY_APP_PROXY_PREFIX']

  # Set the below if providing a carrier service endpoint.
  # Note that if using a URL helper to set the endpoint, we use a lambda
  # function to ensure that the URL helper is only evaluated when we need it.
  # config.carrier_service_callback_url = -> { Rails.application.routes.url_helpers.carrier_service_callback_url }

  # Set the below to create real Shopify charges.
  config.real_charges = ENV['SHOPIFY_REAL_CHARGES'] === 'true'

  # Optional configuration. These flags are only respected in the development
  # environment and will have no effect in production.
  config.skip_proxy_verification = ENV['SKIP_PROXY_VERIFICATION'] == 'true'
  config.skip_webhook_verification = ENV['SKIP_WEBHOOK_VERIFICATION'] == 'true'
  config.skip_carrier_request_verification = ENV['SKIP_CARRIER_REQUEST_VERIFICATION'] == 'true'
  config.skip_oauth = ENV['SKIP_OAUTH'] == 'true'
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
disco_app-0.16.1.pre.sidekiq.pre.6.pre.release lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.10.0 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.10.1 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.10.2 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.10.3 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.10.4 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.10.5 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.11.0 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.11.1 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.12.0 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.12.1 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.12.5 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.12.6 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.12.7 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.13.0 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.13.1 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.13.2 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.13.3 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.13.4 lib/generators/disco_app/templates/initializers/disco_app.rb
disco_app-0.13.5 lib/generators/disco_app/templates/initializers/disco_app.rb