Sha256: 07c80ad2bd255665707cae4b8090442b9f855b103d7f7c269d8b56027b643e81
Contents?: true
Size: 876 Bytes
Versions: 4
Compression:
Stored size: 876 Bytes
Contents
module ShopifyApp class Configuration # Shopify App settings. These values should match the configuration # for the app in your Shopify Partners page. Change your settings in # `config/initializers/shopify_app.rb` attr_accessor :api_key attr_accessor :secret attr_accessor :redirect_uri attr_accessor :scope attr_accessor :embedded_app alias_method :embedded_app?, :embedded_app attr_accessor :webhooks # configure myshopify domain for local shopify development attr_accessor :myshopify_domain def initialize @myshopify_domain = 'myshopify.com' end def has_webhooks? webhooks.present? end end def self.configuration @configuration ||= Configuration.new end def self.configuration=(config) @configuration = config end def self.configure yield configuration end end
Version data entries
4 entries across 4 versions & 1 rubygems