Method: Restforce::Collection#pages
- Defined in:
- lib/restforce/collection.rb
permalink #pages ⇒ Object
Return the current and all of the following pages.
65 66 67 |
# File 'lib/restforce/collection.rb', line 65 def pages [self] + (has_next_page? ? next_page.pages : []) end |