Class: Couchbase::SearchFacetResult::NumericRangeFacetResult::NumericRangeFacet
- Inherits:
-
Object
- Object
- Couchbase::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.
1539 1540 1541 1542 1543 1544 |
# File 'lib/couchbase/search_options.rb', line 1539 def initialize(name, count, min, max) @name = name @count = count @min = min @max = max end |
Instance Attribute Details
#count ⇒ Integer (readonly)
1531 1532 1533 |
# File 'lib/couchbase/search_options.rb', line 1531 def count @count end |
#max ⇒ Integer, ... (readonly)
1537 1538 1539 |
# File 'lib/couchbase/search_options.rb', line 1537 def max @max end |
#min ⇒ Integer, ... (readonly)
1534 1535 1536 |
# File 'lib/couchbase/search_options.rb', line 1534 def min @min end |
#name ⇒ String (readonly)
1528 1529 1530 |
# File 'lib/couchbase/search_options.rb', line 1528 def name @name end |