class Restforce::Collection

def pages

Return the current and all of the following pages.
def pages
  [self] + (has_next_page? ? next_page.pages : [])
end