Class: Spree::AppConfiguration

Inherits:
Preferences::Configuration show all
Defined in:
app/models/spree/app_configuration.rb

Instance Method Summary collapse

Methods inherited from Preferences::Configuration

#configure, #method_missing, #preference_cache_key, #reset, #set

Methods included from Preferences::Preferable

#clear_preferences, #get_preference, #has_preference!, #has_preference?, included, #preference_cache_key, #preference_default, #preference_description, #preference_type, #preferences, #save_pending_preferences, #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_classObject

searcher_class allows spree extension writers to provide their own Search class


102
103
104
# File 'app/models/spree/app_configuration.rb', line 102

def searcher_class
  @searcher_class ||= Spree::Core::Search::Base
end

#searcher_class=(sclass) ⇒ Object


106
107
108
# File 'app/models/spree/app_configuration.rb', line 106

def searcher_class=(sclass)
  @searcher_class = sclass
end