Sha256: 1b14f1edc3c2747eca55c9c9f4032a0a674bc8cd0214ad76b924484ee1833b0d

Contents?: true

Size: 356 Bytes

Versions: 11

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

module SolidusMe
  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 config configuration

    def configure
      yield configuration
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
solidus_me-2.0.1 lib/solidus_me/configuration.rb
solidus_me-2.0.0 lib/solidus_me/configuration.rb
solidus_me-1.0.7 lib/solidus_me/configuration.rb
solidus_me-1.0.6 lib/solidus_me/configuration.rb
solidus_me-1.0.5 lib/solidus_me/configuration.rb
solidus_me-1.0.4 lib/solidus_me/configuration.rb
solidus_me-1.0.3 lib/solidus_me/configuration.rb
solidus_me-1.0.2 lib/solidus_me/configuration.rb
solidus_me-1.0.1 lib/solidus_me/configuration.rb
solidus_me-1.0.0 lib/solidus_me/configuration.rb
solidus_me-0.0.1 lib/solidus_me/configuration.rb