Class: Couchbase::Options::Diagnostics

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

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:

[View source]

1126
1127
1128
1129
# File 'lib/couchbase/options.rb', line 1126

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

Instance Attribute Details

#report_idString

Returns:

  • (String)

1119
1120
1121
# File 'lib/couchbase/options.rb', line 1119

def report_id
  @report_id
end