Class: Couchbase::Options::RemoveMulti
- Defined in:
- lib/couchbase/options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/options.rb more...
Overview
Options for Collection#remove_multi
Instance Attribute Summary collapse
Attributes inherited from Base
#client_context, #parent_span, #retry_strategy, #timeout
Instance Method Summary collapse
-
#initialize(durability_level: :none, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|| ... } ⇒ RemoveMulti
constructor
Creates an instance of options for Collection#remove.
Constructor Details
#initialize(durability_level: :none, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|| ... } ⇒ RemoveMulti
Creates an instance of options for Collection#remove
439 440 441 442 443 444 445 446 447 |
# File 'lib/couchbase/options.rb', line 439 def initialize(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) @durability_level = durability_level yield self if block_given? end |
Instance Attribute Details
#durability_level ⇒ Symbol
415 416 417 |
# File 'lib/couchbase/options.rb', line 415 def durability_level @durability_level end |