Sha256: 044266cf8c0596098be6725e1b84f3b472cffc9e5da91c54cc1fc29efecb1554

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true

module SolidusReviews
  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_reviews-1.7.0 lib/solidus_reviews/configuration.rb
solidus_reviews-1.6.0 lib/solidus_reviews/configuration.rb