Class: Couchbase::BinaryCollection::PrependOptions
- Inherits:
-
CommonOptions
- Object
- CommonOptions
- Couchbase::BinaryCollection::PrependOptions
- Defined in:
- lib/couchbase/binary_collection_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/binary_collection_options.rb more...
Instance Attribute Summary collapse
-
#cas ⇒ Integer
The default CAS used (0 means no CAS in this context).
Attributes inherited from CommonOptions
#client_context, #parent_span, #retry_strategy, #timeout
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ PrependOptions
constructor
A new instance of PrependOptions.
Constructor Details
#initialize {|self| ... } ⇒ PrependOptions
Returns a new instance of PrependOptions.
35 36 37 38 |
# File 'lib/couchbase/binary_collection_options.rb', line 35 def initialize super yield self if block_given? end |
Instance Attribute Details
#cas ⇒ Integer
Returns The default CAS used (0 means no CAS in this context).
32 33 34 |
# File 'lib/couchbase/binary_collection_options.rb', line 32 def cas @cas end |