Method: Restforce::Collection#next_page

Defined in:
lib/restforce/collection.rb

#next_pageObject

Returns the next page as a Restforce::Collection if it’s available, nil otherwise.


75
76
77
# File 'lib/restforce/collection.rb', line 75

def next_page
  @client.get(@raw_page['nextRecordsUrl']).body if has_next_page?
end