Class: Couchbase::SearchSort::SearchSortId
- Inherits:
-
SearchSort
- Object
- SearchSort
- Couchbase::SearchSort::SearchSortId
- Defined in:
- lib/couchbase/search_options.rb,
/home/runner/work/couchbase-ruby-client/couchbase-ruby-client/lib/couchbase/search_options.rb
Instance Attribute Summary collapse
-
#desc ⇒ Boolean
If descending order should be applied.
Instance Method Summary collapse
-
#initialize {|| ... } ⇒ SearchSortId
constructor
A new instance of SearchSortId.
Constructor Details
#initialize {|| ... } ⇒ SearchSortId
Returns a new instance of SearchSortId.
1180 1181 1182 1183 |
# File 'lib/couchbase/search_options.rb', line 1180 def initialize super yield self if block_given? end |
Instance Attribute Details
#desc ⇒ Boolean
Returns if descending order should be applied.
1177 1178 1179 |
# File 'lib/couchbase/search_options.rb', line 1177 def desc @desc end |