Class: Couchbase::Options::Diagnostics

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/options.rb

Overview

Options for Cluster#diagnostics

Constant Summary collapse

DEFAULT =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Diagnostics.new.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(report_id: nil) {|self| ... } ⇒ Diagnostics

Creates an instance of options for Cluster#diagnostics

Parameters:

  • report_id (String) (defaults to: nil)

    Holds custom report ID.

Yield Parameters:



1806
1807
1808
1809
# File 'lib/couchbase/options.rb', line 1806

def initialize(report_id: nil)
  @report_id = report_id
  yield self if block_given?
end

Instance Attribute Details

#report_idString

Returns:

  • (String)


1799
1800
1801
# File 'lib/couchbase/options.rb', line 1799

def report_id
  @report_id
end