Class: Couchbase::Bucket::ViewMetaData
- Inherits:
-
Object
- Object
- Couchbase::Bucket::ViewMetaData
- Defined in:
- lib/couchbase/view_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/view_options.rb more...
Instance Attribute Summary collapse
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.
137 138 139 |
# File 'lib/couchbase/view_options.rb', line 137 def initialize yield self if block_given? end |
Instance Attribute Details
#total_rows ⇒ Integer
127 128 129 |
# File 'lib/couchbase/view_options.rb', line 127 def total_rows @total_rows end |
Instance Method Details
#debug ⇒ Object
[View source]
132 133 134 |
# File 'lib/couchbase/view_options.rb', line 132 def debug JSON.parse(@debug_info) end |