Class: Couchbase::Cluster::SearchFacetResult::NumericRangeFacetResult::NumericRangeFacet
- Inherits:
-
Object
- Object
- Couchbase::Cluster::SearchFacetResult::NumericRangeFacetResult::NumericRangeFacet
- Defined in:
- lib/couchbase/search_options.rb
Instance Attribute Summary collapse
- #count ⇒ Integer readonly
- #max ⇒ Integer, ... readonly
- #min ⇒ Integer, ... readonly
- #name ⇒ String readonly
Instance Method Summary collapse
-
#initialize(name, count, min, max) ⇒ NumericRangeFacet
constructor
A new instance of NumericRangeFacet.
Constructor Details
#initialize(name, count, min, max) ⇒ NumericRangeFacet
Returns a new instance of NumericRangeFacet.
1404 1405 1406 1407 1408 1409 |
# File 'lib/couchbase/search_options.rb', line 1404 def initialize(name, count, min, max) @name = name @count = count @min = min @max = max end |
Instance Attribute Details
#count ⇒ Integer (readonly)
1396 1397 1398 |
# File 'lib/couchbase/search_options.rb', line 1396 def count @count end |
#max ⇒ Integer, ... (readonly)
1402 1403 1404 |
# File 'lib/couchbase/search_options.rb', line 1402 def max @max end |
#min ⇒ Integer, ... (readonly)
1399 1400 1401 |
# File 'lib/couchbase/search_options.rb', line 1399 def min @min end |
#name ⇒ String (readonly)
1393 1394 1395 |
# File 'lib/couchbase/search_options.rb', line 1393 def name @name end |