Method: Restforce::Collection#pages

Defined in:
lib/restforce/collection.rb

#pagesObject

Return the current and all of the following pages.

[View source]

65
66
67
# File 'lib/restforce/collection.rb', line 65

def pages
  [self] + (has_next_page? ? next_page.pages : [])
end