Class: Spree::Core::Configuration
- Inherits:
-
Preferences::Configuration
- Object
- Preferences::Configuration
- Spree::Core::Configuration
- Defined in:
- lib/spree/core/configuration.rb
Instance Attribute Summary collapse
-
#searcher_class ⇒ Object
searcher_class allows spree extension writers to provide their own Search class.
Method Summary
Methods inherited from Preferences::Configuration
#configure, #method_missing, #preferences, #reset, #set
Methods included from Preferences::Preferable
#clear_preferences, #default_preferences, #defined_preferences, #deprecated_preferences, #get_preference, #has_preference!, #has_preference?, #preference_default, #preference_deprecated, #preference_type, #set_preference
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Spree::Preferences::Configuration
Instance Attribute Details
#searcher_class ⇒ Object
searcher_class allows spree extension writers to provide their own Search class
78 79 80 81 |
# File 'lib/spree/core/configuration.rb', line 78 def searcher_class Spree::Deprecation.warn('`Spree::Config.searcher_class` is deprecated and will be removed in Spree v5, please use `Spree.searcher_class` instead.') @searcher_class ||= Spree.searcher_class end |