Class: Couchbase::Cluster::SearchFacetResult::NumericRangeFacetResult::NumericRangeFacet
- Inherits:
-
Object
- Object
- Couchbase::Cluster::SearchFacetResult::NumericRangeFacetResult::NumericRangeFacet
- 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
- #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.
1394 1395 1396 1397 1398 1399 |
# File 'lib/couchbase/search_options.rb', line 1394 def initialize(name, count, min, max) @name = name @count = count @min = min @max = max end |
Instance Attribute Details
#count ⇒ Integer (readonly)
1386 1387 1388 |
# File 'lib/couchbase/search_options.rb', line 1386 def count @count end |
#max ⇒ Integer, ... (readonly)
1392 1393 1394 |
# File 'lib/couchbase/search_options.rb', line 1392 def max @max end |
#min ⇒ Integer, ... (readonly)
1389 1390 1391 |
# File 'lib/couchbase/search_options.rb', line 1389 def min @min end |
#name ⇒ String (readonly)
1383 1384 1385 |
# File 'lib/couchbase/search_options.rb', line 1383 def name @name end |