#paginate(url, options = {}, &block) ⇒ Sawyer::Resource

Make one or more HTTP GET requests, optionally fetching
the next page of results from URL in Link response header based
on value in #auto_paginate.

Parameters:

url(String)
—

The path, relative to #endpoint

options(Hash)(defaults to: {})
—

Query and header params for request

block(Block)
—

Block to perform the data concatination of the
multiple requests. The block is called with two parameters, the first
contains the contents of the requests so far and the second parameter
contains the latest response.