Module: Blacklight::Configurable
- Extended by:
 - ActiveSupport::Concern
 
- Included in:
 - Catalog, SearchHistory
 
- Defined in:
 - app/models/concerns/blacklight/configurable.rb
 
Instance Attribute Summary collapse
- 
  
    
      #blacklight_config  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
instance methods for blacklight_config, so get a deep copy of the class-level config.
 
Class Method Summary collapse
Instance Attribute Details
#blacklight_config ⇒ Object
instance methods for blacklight_config, so get a deep copy of the class-level config
      11 12 13  | 
    
      # File 'app/models/concerns/blacklight/configurable.rb', line 11 def blacklight_config @blacklight_config ||= self.class.blacklight_config.deep_copy end  | 
  
Class Method Details
.default_configuration ⇒ Object
      47 48 49  | 
    
      # File 'app/models/concerns/blacklight/configurable.rb', line 47 def self.default_configuration @default_configuration ||= Blacklight::Configuration.new end  | 
  
.default_configuration=(config) ⇒ Object
      51 52 53  | 
    
      # File 'app/models/concerns/blacklight/configurable.rb', line 51 def self.default_configuration= config @default_configuration = config end  |