class CouchRest::Model::SearchResults

Attributes

bookmark[RW]
total_rows[RW]

Public Class Methods

new(total_rows, bookmark, objects) click to toggle source
# File lib/couchrest_model_cloudant.rb, line 29
def initialize(total_rows, bookmark, objects)
  @total_rows = total_rows
  @bookmark = bookmark
  @objects = objects
end

Public Instance Methods

each() { |member| ... } click to toggle source
# File lib/couchrest_model_cloudant.rb, line 35
def each
  @objects.each do |member|
    yield member
  end
end