Sha256: 11473321cc8238ccd97afd6cc2f96563566b7902b24b3f7b6a612f0804fa661d

Contents?: true

Size: 277 Bytes

Versions: 10

Compression:

Stored size: 277 Bytes

Contents

module SolidusTecEstimator
  class Configuration
    attr_accessor :providers_classes
  end

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

    alias config configuration

    def configure
      yield configuration
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
solidus_tec_estimator-2.0.0 lib/solidus_tec_estimator/configuration.rb
solidus_tec_estimator-1.0.6 lib/solidus_tec_estimator/configuration.rb
solidus_tec_estimator-1.0.5 lib/solidus_tec_estimator/configuration.rb
solidus_tec_estimator-1.0.4 lib/solidus_tec_estimator/configuration.rb
solidus_tec_estimator-1.0.3 lib/solidus_tec_estimator/configuration.rb
solidus_tec_estimator-1.0.2 lib/solidus_tec_estimator/configuration.rb
solidus_tec_estimator-1.0.1 lib/solidus_tec_estimator/configuration.rb
solidus_tec_estimator-1.0.0 lib/solidus_tec_estimator/configuration.rb
solidus_tec_estimator-0.0.3 lib/solidus_tec_estimator/configuration.rb
solidus_tec_estimator-0.0.2 lib/solidus_tec_estimator/configuration.rb