Method: Couchbase::Options::Exists#initialize

Defined in:
lib/couchbase/options.rb

#initialize(timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|Exists| ... } ⇒ Exists

Creates an instance of options for Collection#exists

Parameters:

  • (defaults to: nil)
  • (defaults to: nil)

    the custom retry strategy, if set

  • (defaults to: nil)

    the client context data, if set

  • (defaults to: nil)

    if set holds the parent span, that should be used for this request

Yield Parameters:

  • Exists (Exists self)

    self



331
332
333
334
335
336
337
# File 'lib/couchbase/options.rb', line 331

def initialize(timeout: nil,
               retry_strategy: nil,
               client_context: nil,
               parent_span: nil)
  super
  yield self if block_given?
end