Class: Couchbase::SearchFacetResult::DateRangeFacetResult::DateRangeFacet
- Inherits:
-
Object
- Object
- Couchbase::SearchFacetResult::DateRangeFacetResult::DateRangeFacet
- Defined in:
- lib/couchbase/search_options.rb,
/code/couchbase-ruby-client/lib/couchbase/search_options.rb
Instance Attribute Summary collapse
- #count ⇒ Integer readonly
- #end_time ⇒ String readonly
- #name ⇒ String readonly
- #start_time ⇒ String readonly
Instance Method Summary collapse
-
#initialize(name, count, start_time, end_time) ⇒ DateRangeFacet
constructor
A new instance of DateRangeFacet.
Constructor Details
#initialize(name, count, start_time, end_time) ⇒ DateRangeFacet
Returns a new instance of DateRangeFacet.
1503 1504 1505 1506 1507 1508 |
# File 'lib/couchbase/search_options.rb', line 1503 def initialize(name, count, start_time, end_time) @name = name @count = count @start_time = start_time @end_time = end_time end |
Instance Attribute Details
#count ⇒ Integer (readonly)
1495 1496 1497 |
# File 'lib/couchbase/search_options.rb', line 1495 def count @count end |
#end_time ⇒ String (readonly)
1501 1502 1503 |
# File 'lib/couchbase/search_options.rb', line 1501 def end_time @end_time end |
#name ⇒ String (readonly)
1492 1493 1494 |
# File 'lib/couchbase/search_options.rb', line 1492 def name @name end |
#start_time ⇒ String (readonly)
1498 1499 1500 |
# File 'lib/couchbase/search_options.rb', line 1498 def start_time @start_time end |