lib/ridley/middleware/gzip.rb in ridley-2.5.1 vs lib/ridley/middleware/gzip.rb in ridley-3.0.0.rc1
- old
+ new
@@ -13,6 +13,6 @@
end
end
end
end
-Faraday.register_middleware(:response, gzip: Ridley::Middleware::Gzip)
+Faraday::Response.register_middleware gzip: Ridley::Middleware::Gzip