Method: Databasedotcom::Client#next_page

Defined in:
lib/databasedotcom/client.rb

#next_page(path) ⇒ Object

Used by Collection objects. Returns a Collection of Sobjects from the specified URL path that represents the next page of paginated results.



217
218
219
220
# File 'lib/databasedotcom/client.rb', line 217

def next_page(path)
  result = http_get(path)
  collection_from(result.body)
end