lostisland/sawyer — pull request #31 by matadon (2014-09-23 06:40:56+00:00)
Title: Raw response access for Sawyer::Response

Sawyer::Response now exposes #env and #body for accessing raw request data. #data itself now memoizes when first called, rather than handling the response decoding in #initialize.

Sometimes, you just need access to the raw data. In my case, I've got some slightly oddball JSON processing to do, plus some Faraday middleware that stores resuls in `response.env`.