Class: Spotlight::Filter
- Inherits:
 - 
      ActiveRecord::Base
      
        
- Object
 - ActiveRecord::Base
 - Spotlight::Filter
 
 
- Defined in:
 - app/models/spotlight/filter.rb
 
Overview
A configurable solr filter for the exhibit
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
      10 11 12 13 14  | 
    
      # File 'app/models/spotlight/filter.rb', line 10 def to_hash return {} unless field { field => cast_value } end  |