Method: Databasedotcom::Client#previous_page

Defined in:
lib/databasedotcom/client.rb

#previous_page(path) ⇒ Object

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



223
224
225
226
# File 'lib/databasedotcom/client.rb', line 223

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