Class: AboutYou::SDK::Model::FacetCount
- Inherits:
-
Object
- Object
- AboutYou::SDK::Model::FacetCount
- Defined in:
- lib/AboutYou/Model/ProductSearchResult/facet_count.rb
Overview
This class represents a FacetCount model.
Instance Attribute Summary collapse
-
#count ⇒ Object
The count of the facet.
-
#facet ⇒ Object
The Facet.
Instance Method Summary collapse
-
#initialize(facet, count) ⇒ FacetCount
constructor
the Constructor for the facetcount class.
Constructor Details
#initialize(facet, count) ⇒ FacetCount
the Constructor for the facetcount class
-
Args :
-
facet
-> a facet -
count
-> the count of the facet
-
-
Returns :
-
Instance of AboutYou::SDK::Model::FacetCount
-
23 24 25 26 |
# File 'lib/AboutYou/Model/ProductSearchResult/facet_count.rb', line 23 def initialize(facet, count) self.facet = facet self.count = count end |
Instance Attribute Details
#count ⇒ Object
The count of the facet
11 12 13 |
# File 'lib/AboutYou/Model/ProductSearchResult/facet_count.rb', line 11 def count @count end |
#facet ⇒ Object
The Facet
9 10 11 |
# File 'lib/AboutYou/Model/ProductSearchResult/facet_count.rb', line 9 def facet @facet end |