Class: Spree::Search::Facet
- Inherits:
-
Object
- Object
- Spree::Search::Facet
- Defined in:
- lib/spree/search/solr.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(name, options = []) ⇒ Facet
constructor
A new instance of Facet.
Constructor Details
#initialize(name, options = []) ⇒ Facet
Returns a new instance of Facet.
70 71 72 73 |
# File 'lib/spree/search/solr.rb', line 70 def initialize(name, = []) self.name = name self. = end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
69 70 71 |
# File 'lib/spree/search/solr.rb', line 69 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
68 69 70 |
# File 'lib/spree/search/solr.rb', line 68 def @options end |