First off, this gem is amazing and I'm looking forward to using it more in the future!
Having some issues with the recording when I have Faraday set to use Faraday::Response::Mashify via the faraday_middleware gem (https://github.com/pengwynn/faraday_middleware).
NoMethodError:
undefined method `items' for #<Hash:0x00000100d114a0>
This is the case because I'm calling response.body.items (dot notation provided via Mashify). That object should be a Hashie type, not Hash. So, I was curious how to ensure VCR uses the same middleware.
A single connection object is used throughout various classes and is setup like so:
@connection ||= Faraday::Connection.new(:url => connection_url, :headers => connection_headers) do |builder|
builder.adapter Faraday.default_adapter
builder.use Faraday::Response::ParseJson
builder.use Faraday::Response::Mashify
end