Class: Couchbase::Bucket::ViewMetaData

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/view_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|self| ... } ⇒ ViewMetaData

Returns a new instance of ViewMetaData.

Yield Parameters:

[View source]

138
139
140
# File 'lib/couchbase/view_options.rb', line 138

def initialize
  yield self if block_given?
end

Instance Attribute Details

#total_rowsInteger

Returns:

  • (Integer)

128
129
130
# File 'lib/couchbase/view_options.rb', line 128

def total_rows
  @total_rows
end

Instance Method Details

#debugObject

[View source]

133
134
135
# File 'lib/couchbase/view_options.rb', line 133

def debug
  JSON.parse(@debug_info)
end