Class: Spree::Core::StockConfiguration
- Inherits:
-
Object
- Object
- Spree::Core::StockConfiguration
- Defined in:
- lib/spree/core/stock_configuration.rb
Instance Attribute Summary collapse
- #allocator_class ⇒ Object
- #coordinator_class ⇒ Object
- #estimator_class ⇒ Object
- #location_filter_class ⇒ Object
- #location_sorter_class ⇒ Object
Instance Attribute Details
#allocator_class ⇒ Object
32 33 34 35 |
# File 'lib/spree/core/stock_configuration.rb', line 32 def allocator_class @allocator_class ||= '::Spree::Stock::Allocator::OnHandFirst' @allocator_class.constantize end |
#coordinator_class ⇒ Object
12 13 14 15 |
# File 'lib/spree/core/stock_configuration.rb', line 12 def coordinator_class @coordinator_class ||= '::Spree::Stock::SimpleCoordinator' @coordinator_class.constantize end |
#estimator_class ⇒ Object
17 18 19 20 |
# File 'lib/spree/core/stock_configuration.rb', line 17 def estimator_class @estimator_class ||= '::Spree::Stock::Estimator' @estimator_class.constantize end |
#location_filter_class ⇒ Object
22 23 24 25 |
# File 'lib/spree/core/stock_configuration.rb', line 22 def location_filter_class @location_filter_class ||= '::Spree::Stock::LocationFilter::Active' @location_filter_class.constantize end |
#location_sorter_class ⇒ Object
27 28 29 30 |
# File 'lib/spree/core/stock_configuration.rb', line 27 def location_sorter_class @location_sorter_class ||= '::Spree::Stock::LocationSorter::Unsorted' @location_sorter_class.constantize end |