Class: Spree::AppConfiguration
- Inherits:
-
Preferences::Configuration
- Object
- Preferences::Configuration
- Spree::AppConfiguration
- Defined in:
- app/models/spree/app_configuration.rb
Instance Method Summary collapse
-
#searcher_class ⇒ Object
searcher_class allows spree extension writers to provide their own Search class.
- #searcher_class=(sclass) ⇒ Object
Methods inherited from Preferences::Configuration
#configure, #method_missing, #preferences, #reset, #set
Methods included from Preferences::Preferable
#clear_preferences, #default_preferences, #defined_preferences, #get_preference, #has_preference!, #has_preference?, #preference_default, #preference_type, #set_preference
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Spree::Preferences::Configuration
Instance Method Details
#searcher_class ⇒ Object
searcher_class allows spree extension writers to provide their own Search class
63 64 65 |
# File 'app/models/spree/app_configuration.rb', line 63 def searcher_class @searcher_class ||= Spree::Core::Search::Base end |
#searcher_class=(sclass) ⇒ Object
67 68 69 |
# File 'app/models/spree/app_configuration.rb', line 67 def searcher_class=(sclass) @searcher_class = sclass end |