Class: Couchbase::Collection::RemoveOptions
- Inherits:
-
Couchbase::CommonOptions
- Object
- Couchbase::CommonOptions
- Couchbase::Collection::RemoveOptions
- Defined in:
- lib/couchbase/collection_options.rb
Instance Attribute Summary collapse
-
#cas ⇒ Integer
Specifies a CAS value that will be taken into account on the server side for optimistic concurrency.
-
#durability_level ⇒ :none, ...
Level of durability.
Attributes inherited from Couchbase::CommonOptions
#client_context, #parent_span, #retry_strategy, #timeout
Instance Method Summary collapse
-
#initialize {|| ... } ⇒ RemoveOptions
constructor
A new instance of RemoveOptions.
Constructor Details
#initialize {|| ... } ⇒ RemoveOptions
Returns a new instance of RemoveOptions.
183 184 185 186 |
# File 'lib/couchbase/collection_options.rb', line 183 def initialize @durability_level = :none yield self if block_given? end |
Instance Attribute Details
#cas ⇒ Integer
Returns Specifies a CAS value that will be taken into account on the server side for optimistic concurrency.
177 178 179 |
# File 'lib/couchbase/collection_options.rb', line 177 def cas @cas end |
#durability_level ⇒ :none, ...
Returns level of durability.
180 181 182 |
# File 'lib/couchbase/collection_options.rb', line 180 def durability_level @durability_level end |