Class: Couchbase::Cluster::QueryWarning
- Inherits:
-
Object
- Object
- Couchbase::Cluster::QueryWarning
- Defined in:
- lib/couchbase/query_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/query_options.rb more...
Overview
Represents a single warning returned from the query engine.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(code, message) ⇒ QueryWarning
constructor
A new instance of QueryWarning.
Constructor Details
#initialize(code, message) ⇒ QueryWarning
Returns a new instance of QueryWarning.
114 115 116 117 |
# File 'lib/couchbase/query_options.rb', line 114 def initialize(code, ) @code = code @message = end |
Instance Attribute Details
#code ⇒ Integer
109 110 111 |
# File 'lib/couchbase/query_options.rb', line 109 def code @code end |
#message ⇒ String
112 113 114 |
# File 'lib/couchbase/query_options.rb', line 112 def @message end |