Class: Couchbase::Cluster::AnalyticsWarning

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, message) ⇒ AnalyticsWarning

Returns a new instance of AnalyticsWarning.

Parameters:

  • code (Integer)
  • message (String)


30
31
32
33
# File 'lib/couchbase/analytics_options.rb', line 30

def initialize(code, message)
  @code = code
  @message = message
end

Instance Attribute Details

#codeInteger

Returns:

  • (Integer)


23
24
25
# File 'lib/couchbase/analytics_options.rb', line 23

def code
  @code
end

#messageString

Returns:

  • (String)


26
27
28
# File 'lib/couchbase/analytics_options.rb', line 26

def message
  @message
end