Sha256: 56317a5f7fce54c7682cfa702923dbda566eb818a3a2abbcad5b63758ce5f182

Contents?: true

Size: 416 Bytes

Versions: 26

Compression:

Stored size: 416 Bytes

Contents

module Spree
  module Core
    class StockConfiguration
      attr_writer :coordinator_class
      attr_writer :estimator_class

      def coordinator_class
        @coordinator_class ||= '::Spree::Stock::Coordinator'
        @coordinator_class.constantize
      end

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
solidus_core-2.3.1 lib/spree/core/stock_configuration.rb
solidus_core-2.2.2 lib/spree/core/stock_configuration.rb
solidus_core-2.1.1 lib/spree/core/stock_configuration.rb
solidus_core-2.0.3 lib/spree/core/stock_configuration.rb
solidus_core-1.4.2 lib/spree/core/stock_configuration.rb
solidus_core-2.3.0 lib/spree/core/stock_configuration.rb
solidus_core-2.3.0.rc3 lib/spree/core/stock_configuration.rb
solidus_core-2.3.0.rc2 lib/spree/core/stock_configuration.rb
solidus_core-2.3.0.rc1 lib/spree/core/stock_configuration.rb
solidus_core-2.3.0.beta1 lib/spree/core/stock_configuration.rb
solidus_core-2.0.2 lib/spree/core/stock_configuration.rb
solidus_core-1.4.1 lib/spree/core/stock_configuration.rb
solidus_core-2.2.1 lib/spree/core/stock_configuration.rb
solidus_core-2.2.0 lib/spree/core/stock_configuration.rb
solidus_core-2.2.0.rc1 lib/spree/core/stock_configuration.rb
solidus_core-2.2.0.beta1 lib/spree/core/stock_configuration.rb
solidus_core-2.1.0 lib/spree/core/stock_configuration.rb
solidus_core-2.1.0.rc1 lib/spree/core/stock_configuration.rb
solidus_core-2.0.1 lib/spree/core/stock_configuration.rb
solidus_core-2.1.0.beta1 lib/spree/core/stock_configuration.rb