Sha256: 995f1702d0fc2f8a4511a9facbba9a2e4adb87642217bd0e792dfd1eb488dead

Contents?: true

Size: 240 Bytes

Versions: 11

Compression:

Stored size: 240 Bytes

Contents

module Spree
  module Core
    class StockConfiguration
      attr_writer :estimator_class

      def estimator_class
        @estimator_class ||= '::Spree::Stock::Estimator'
        @estimator_class.constantize
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
solidus_core-1.3.2 lib/spree/core/stock_configuration.rb
solidus_core-1.2.3 lib/spree/core/stock_configuration.rb
solidus_core-1.3.1 lib/spree/core/stock_configuration.rb
solidus_core-1.3.0 lib/spree/core/stock_configuration.rb
solidus_core-1.3.0.rc2 lib/spree/core/stock_configuration.rb
solidus_core-1.3.0.rc1 lib/spree/core/stock_configuration.rb
solidus_core-1.3.0.beta1 lib/spree/core/stock_configuration.rb
solidus_core-1.2.2 lib/spree/core/stock_configuration.rb
solidus_core-1.2.1 lib/spree/core/stock_configuration.rb
solidus_core-1.2.0 lib/spree/core/stock_configuration.rb
solidus_core-1.2.0.rc2 lib/spree/core/stock_configuration.rb