Class: Spree::Core::StockConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/spree/core/stock_configuration.rb

Instance Attribute Summary collapse

Instance Attribute Details

#coordinator_classObject



10
11
12
13
# File 'lib/spree/core/stock_configuration.rb', line 10

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

#estimator_classObject



15
16
17
18
# File 'lib/spree/core/stock_configuration.rb', line 15

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

#location_sorter_classObject



20
21
22
23
# File 'lib/spree/core/stock_configuration.rb', line 20

def location_sorter_class
  @location_sorter_class ||= '::Spree::Stock::LocationSorter::Unsorted'
  @location_sorter_class.constantize
end