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:



1842
1843
1844
1845
# File 'lib/couchbase/options.rb', line 1842

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

Instance Attribute Details

#report_idString

Returns:

  • (String)


1835
1836
1837
# File 'lib/couchbase/options.rb', line 1835

def report_id
  @report_id
end