Class: Couchbase::BinaryCollection::AppendOptions
- Inherits:
-
CommonOptions
- Object
- CommonOptions
- Couchbase::BinaryCollection::AppendOptions
- Defined in:
- lib/couchbase/binary_collection_options.rb
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| ... } ⇒ AppendOptions
constructor
A new instance of AppendOptions.
Constructor Details
#initialize {|self| ... } ⇒ AppendOptions
Returns a new instance of AppendOptions.
24 25 26 |
# File 'lib/couchbase/binary_collection_options.rb', line 24 def initialize yield self if block_given? end |
Instance Attribute Details
#cas ⇒ Integer
Returns The default CAS used (0 means no CAS in this context).
21 22 23 |
# File 'lib/couchbase/binary_collection_options.rb', line 21 def cas @cas end |