Method: Databasedotcom::Collection#next_page
- Defined in:
- lib/databasedotcom/collection.rb
#next_page ⇒ Object
Retrieve the next page of this collection. Returns the new collection, which is an empty collection if no next page exists
23 24 25 |
# File 'lib/databasedotcom/collection.rb', line 23 def next_page self.next_page? ? @client.next_page(@next_page_url) : Databasedotcom::Collection.new(self.client, 0) end |