Class: Couchbase::Collection::RemoveOptions
- Inherits:
-
Couchbase::CommonOptions
- Object
- Couchbase::CommonOptions
- Couchbase::Collection::RemoveOptions
- Defined in:
- lib/couchbase/collection_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/collection_options.rb more...
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.
206 207 208 209 210 |
# File 'lib/couchbase/collection_options.rb', line 206 def initialize super @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.
200 201 202 |
# File 'lib/couchbase/collection_options.rb', line 200 def cas @cas end |
#durability_level ⇒ :none, ...
Returns level of durability.
203 204 205 |
# File 'lib/couchbase/collection_options.rb', line 203 def durability_level @durability_level end |