Class: Couchbase::Cluster::QueryWarning
- Inherits:
-
Object
- Object
- Couchbase::Cluster::QueryWarning
- Defined in:
- lib/couchbase/query_options.rb
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.
236 237 238 239 |
# File 'lib/couchbase/query_options.rb', line 236 def initialize(code, ) @code = code @message = end |
Instance Attribute Details
#code ⇒ Integer
231 232 233 |
# File 'lib/couchbase/query_options.rb', line 231 def code @code end |
#message ⇒ String
234 235 236 |
# File 'lib/couchbase/query_options.rb', line 234 def @message end |