Class: Couchbase::Options::Diagnostics

Inherits:
Object
  • Object
show all
Defined in:
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:



1171
1172
1173
1174
# File 'lib/couchbase/options.rb', line 1171

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

Instance Attribute Details

#report_idString

Returns:

  • (String)


1164
1165
1166
# File 'lib/couchbase/options.rb', line 1164

def report_id
  @report_id
end