Sha256: 93e9422d27900c0b610080b3d5ff61d1946ea2f6ba9051f6656134d1b2f9fe3a

Contents?: true

Size: 362 Bytes

Versions: 2

Compression:

Stored size: 362 Bytes

Contents

# frozen_string_literal: true

module SolidusAdminBar
  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

2 entries across 2 versions & 1 rubygems

Version Path
solidus_admin_bar-3.0.2 lib/solidus_admin_bar/configuration.rb
solidus_admin_bar-3.0.1 lib/solidus_admin_bar/configuration.rb