Class: Spree::Core::StockConfiguration Private
- Inherits:
-
Object
- Object
- Spree::Core::StockConfiguration
- Defined in:
- lib/spree/core/stock_configuration.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #coordinator_class ⇒ Object private
- #estimator_class ⇒ Object private
Instance Attribute Details
#coordinator_class ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
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 |
#estimator_class ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
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 |