Class: Couchbase::Cluster::AnalyticsWarning

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

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)
[View source]

28
29
30
31
# File 'lib/couchbase/analytics_options.rb', line 28

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

Instance Attribute Details

#codeInteger

Returns:

  • (Integer)

21
22
23
# File 'lib/couchbase/analytics_options.rb', line 21

def code
  @code
end

#messageString

Returns:

  • (String)

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

def message
  @message
end