Sha256: 0a6581f6b50c2f72a237a8a855ab1468421fd466180c2c8db489a64184cc4af5

Contents?: true

Size: 369 Bytes

Versions: 20

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

module SolidusBling
  class Configuration
    # Define here the settings for this extension, e.g.:
    #
    # attr_accessor :my_setting
  end

  class << self
    def configuration
      @configuration ||= Configuration.new
    end

    alias_method :config, :configuration

    def configure
      yield configuration
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
solidus_bling-3.3.6 lib/solidus_bling/configuration.rb
solidus_bling-3.3.5 lib/solidus_bling/configuration.rb
solidus_bling-3.3.3 lib/solidus_bling/configuration.rb
solidus_bling-3.3.2 lib/solidus_bling/configuration.rb
solidus_bling-3.3.1 lib/solidus_bling/configuration.rb
solidus_bling-3.3.0 lib/solidus_bling/configuration.rb
solidus_bling-3.2.9 lib/solidus_bling/configuration.rb
solidus_bling-3.2.8 lib/solidus_bling/configuration.rb
solidus_bling-3.2.7 lib/solidus_bling/configuration.rb
solidus_bling-3.2.6 lib/solidus_bling/configuration.rb
solidus_bling-3.2.5 lib/solidus_bling/configuration.rb
solidus_bling-3.2.4 lib/solidus_bling/configuration.rb
solidus_bling-3.2.3 lib/solidus_bling/configuration.rb
solidus_bling-3.2.2 lib/solidus_bling/configuration.rb
solidus_bling-3.2.1 lib/solidus_bling/configuration.rb
solidus_bling-3.2 lib/solidus_bling/configuration.rb
solidus_bling-3.1.1 lib/solidus_bling/configuration.rb
solidus_bling-3.1.0 lib/solidus_bling/configuration.rb
solidus_bling-3.0.3 lib/solidus_bling/configuration.rb
solidus_bling-3.0.2 lib/solidus_bling/configuration.rb