Instagram/instagram-ruby-gem — pull request #139 by dfan1028 (2014-10-09 23:06:57+00:00)
Title: Ratelimit support for responses from Instagram

- Include `x-ratelimit-remaining` and `x-ratelimit-limit` from the headers in the response.

The `utils_raw_response` unnecessarily uses an additional API call to fetch a raw response that includes the header where the limit can be checked.

This is not being limit-friendly when the other individual API requests include the header with this information but is filtered out by the Request/Response classes. That information should be included instead.