Class: Couchbase::SearchFacetResult::DateRangeFacetResult
- Inherits:
-
Couchbase::SearchFacetResult
- Object
- Couchbase::SearchFacetResult
- Couchbase::SearchFacetResult::DateRangeFacetResult
- Defined in:
- lib/couchbase/search_options.rb
Defined Under Namespace
Classes: DateRangeFacet
Instance Attribute Summary collapse
Attributes inherited from Couchbase::SearchFacetResult
#field, #missing, #name, #other, #total
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ DateRangeFacetResult
constructor
A new instance of DateRangeFacetResult.
- #type ⇒ Object
Constructor Details
#initialize {|self| ... } ⇒ DateRangeFacetResult
Returns a new instance of DateRangeFacetResult.
1485 1486 1487 1488 |
# File 'lib/couchbase/search_options.rb', line 1485 def initialize super yield self if block_given? end |
Instance Attribute Details
#date_ranges ⇒ Array<DateRangeFacet>
1478 1479 1480 |
# File 'lib/couchbase/search_options.rb', line 1478 def date_ranges @date_ranges end |
Instance Method Details
#type ⇒ Object
1480 1481 1482 |
# File 'lib/couchbase/search_options.rb', line 1480 def type :date_range_facet end |