lib/fullcontact/connection.rb in fullcontact-0.10.0 vs lib/fullcontact/connection.rb in fullcontact-0.11.0
- old
+ new
@@ -20,10 +20,10 @@
Faraday.new(options) do |builder|
builder.use Faraday::Request::UrlEncoded
builder.use Faraday::Request::Gateway, gateway if gateway
builder.use FaradayMiddleware::Mashify unless raw
- builder.use Faraday::Response::Rubyize unless raw
+ builder.use Faraday::Response::Rubyize unless raw or FullContact.skip_rubyize
unless raw
case format.to_s.downcase
when 'json'
builder.use Faraday::Response::ParseJson
end