Class: Couchbase::Cluster::SearchFacetResult::TermFacetResult::TermFacet
- Inherits:
-
Object
- Object
- Couchbase::Cluster::SearchFacetResult::TermFacetResult::TermFacet
- Defined in:
- lib/couchbase/search_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/search_options.rb more...
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.
1323 1324 1325 1326 1327 |
# File 'lib/couchbase/search_options.rb', line 1323 def initialize(term, count) super() @term = term @count = count end |
Instance Attribute Details
#count ⇒ Integer (readonly)
1321 1322 1323 |
# File 'lib/couchbase/search_options.rb', line 1321 def count @count end |
#term ⇒ String (readonly)
1318 1319 1320 |
# File 'lib/couchbase/search_options.rb', line 1318 def term @term end |