Class: Couchbase::SearchFacetResult::DateRangeFacetResult

Inherits:
Couchbase::SearchFacetResult show all
Defined in:
lib/couchbase/search_options.rb,
/code/couchbase-ruby-client/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

Constructor Details

#initialize {|self| ... } ⇒ DateRangeFacetResult

Returns a new instance of DateRangeFacetResult.

Yield Parameters:



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_rangesArray<DateRangeFacet>

Returns:



1478
1479
1480
# File 'lib/couchbase/search_options.rb', line 1478

def date_ranges
  @date_ranges
end

Instance Method Details

#typeObject



1480
1481
1482
# File 'lib/couchbase/search_options.rb', line 1480

def type
  :date_range_facet
end