lib/redrax/paginated_collection.rb
# Retrieves the next page of data
# @param limit [Integer] Page-specific limit size
# @return [PaginatedCollection] Another `PaginatedCollection` containing
#   the next page of data.
Retrieves the next page of data
Retrieves the next page of data
def next_page(limit = nil)
      @options[:limit]  = limit if limit
      @options[:marker] = last.send(self.class.field_name)
      args = []
      args << self.class.collection_name
      args << scoping if scoping
      args << options
      collection.send(*args)
    end
def next_page ( limit = nil ) @options [ :limit ] = limit if limit @options [ :marker ] = last . send ( self . class . field_name ) args = [ ] args << self . class . collection_name args << scoping if scoping args << options collection . send ( * args ) end
Retrieves the next page of data
Retrieves the next page of data
Another `PaginatedCollection` containing the next page of data.
Another ` PaginatedCollection ` containing the next page of data .
PaginatedCollection
limit
Page-specific limit size
Page - specific limit size