Class: Couchbase::Bucket::ViewMetaData
- Inherits:
-
Object
- Object
- Couchbase::Bucket::ViewMetaData
- Defined in:
- lib/couchbase/view_options.rb
Instance Attribute Summary collapse
- #debug_info ⇒ Object writeonly private
- #total_rows ⇒ Integer
Instance Method Summary collapse
- #debug ⇒ Object
-
#initialize {|self| ... } ⇒ ViewMetaData
constructor
A new instance of ViewMetaData.
Constructor Details
#initialize {|self| ... } ⇒ ViewMetaData
Returns a new instance of ViewMetaData.
49 50 51 |
# File 'lib/couchbase/view_options.rb', line 49 def initialize yield self if block_given? end |
Instance Attribute Details
#debug_info=(value) ⇒ Object (writeonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
42 43 44 |
# File 'lib/couchbase/view_options.rb', line 42 def debug_info=(value) @debug_info = value end |
#total_rows ⇒ Integer
39 40 41 |
# File 'lib/couchbase/view_options.rb', line 39 def total_rows @total_rows end |
Instance Method Details
#debug ⇒ Object
44 45 46 |
# File 'lib/couchbase/view_options.rb', line 44 def debug JSON.parse(@debug_info) end |