Class: Couchbase::Options::Remove
- Defined in:
- lib/couchbase/options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/options.rb more...
Overview
Options for Collection#remove
Instance Attribute Summary collapse
Attributes inherited from Base
#client_context, #parent_span, #retry_strategy, #timeout
Instance Method Summary collapse
-
#initialize(cas: nil, durability_level: :none, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|| ... } ⇒ Remove
constructor
Creates an instance of options for Collection#remove.
Constructor Details
#initialize(cas: nil, durability_level: :none, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|| ... } ⇒ Remove
Creates an instance of options for Collection#remove
382 383 384 385 386 387 388 389 390 391 392 |
# File 'lib/couchbase/options.rb', line 382 def initialize(cas: nil, durability_level: :none, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) super(timeout: timeout, retry_strategy: retry_strategy, client_context: client_context, parent_span: parent_span) @cas = cas @durability_level = durability_level yield self if block_given? end |
Instance Attribute Details
#cas ⇒ Integer?
356 357 358 |
# File 'lib/couchbase/options.rb', line 356 def cas @cas end |
#durability_level ⇒ Symbol
357 358 359 |
# File 'lib/couchbase/options.rb', line 357 def durability_level @durability_level end |