Class: Search::FacetSelection
- Inherits:
-
Object
- Object
- Search::FacetSelection
- Includes:
- Atrium::ApplicationHelper
- Defined in:
- app/models/atrium/search/facet_selection.rb
Instance Attribute Summary collapse
-
#field_name ⇒ Object
readonly
Returns the value of attribute field_name.
Instance Method Summary collapse
-
#initialize(field_name_hash) ⇒ FacetSelection
constructor
A new instance of FacetSelection.
- #label ⇒ Object
Methods included from Atrium::ApplicationHelper
Constructor Details
#initialize(field_name_hash) ⇒ FacetSelection
Returns a new instance of FacetSelection.
7 8 9 |
# File 'app/models/atrium/search/facet_selection.rb', line 7 def initialize(field_name_hash) @field_name = field_name_hash[:field_name] end |
Instance Attribute Details
#field_name ⇒ Object (readonly)
Returns the value of attribute field_name.
5 6 7 |
# File 'app/models/atrium/search/facet_selection.rb', line 5 def field_name @field_name end |