Instagram/instagram-ruby-gem — pull request #76 by weyus (2013-06-17 22:39:11+00:00)
Title: Add pagination support for responses from Instagram

By default, Instagram provides a pagination scheme to allow users to request multiple data sets. This adds support for those requests by adding a "next" method to Instagram::Response.

Due to the architecture of this gem, there is no shared information regarding the Instagram client in either the request or the response, so I had to create a new Instagram::Client object to request the next dataset. Although this works, it doesn't feel ideal.