Class: Couchbase::SearchFacetResult::TermFacetResult::TermFacet
- Inherits:
-
Object
- Object
- Couchbase::SearchFacetResult::TermFacetResult::TermFacet
- Defined in:
- lib/couchbase/search_options.rb
Instance Attribute Summary collapse
- #count ⇒ Integer readonly
- #term ⇒ String readonly
Instance Method Summary collapse
-
#initialize(term, count) ⇒ TermFacet
constructor
A new instance of TermFacet.
Constructor Details
#initialize(term, count) ⇒ TermFacet
Returns a new instance of TermFacet.
1468 1469 1470 1471 1472 |
# File 'lib/couchbase/search_options.rb', line 1468 def initialize(term, count) super() @term = term @count = count end |
Instance Attribute Details
#count ⇒ Integer (readonly)
1466 1467 1468 |
# File 'lib/couchbase/search_options.rb', line 1466 def count @count end |
#term ⇒ String (readonly)
1463 1464 1465 |
# File 'lib/couchbase/search_options.rb', line 1463 def term @term end |