Sha256: e06b212fda98d0fd91a09866e95f5abfc2c411d3cf63ca1ebafd853289664c02

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

module SolidusUserRoles
  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_user_roles-2.0.1 lib/solidus_user_roles/configuration.rb
solidus_user_roles-2.0.0 lib/solidus_user_roles/configuration.rb