Class: Couchbase::Options::Diagnostics

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/options.rb,
/code/couchbase-ruby-client/lib/couchbase/options.rb

Overview

Options for Cluster#diagnostics

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:



1808
1809
1810
1811
# File 'lib/couchbase/options.rb', line 1808

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

Instance Attribute Details

#report_idString

Returns:

  • (String)


1801
1802
1803
# File 'lib/couchbase/options.rb', line 1801

def report_id
  @report_id
end