Class: Spree::Core::StockConfiguration

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

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) coordinator_class



7
8
9
10
# File 'lib/spree/core/stock_configuration.rb', line 7

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

- (Object) estimator_class



12
13
14
15
# File 'lib/spree/core/stock_configuration.rb', line 12

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