lib/faraday/errors.rb in reviewed-1.2.4 vs lib/faraday/errors.rb in reviewed-1.3.0
- old
+ new
@@ -9,6 +9,6 @@
end
end
end
end
-Faraday.register_middleware :response, errors: Faraday::Errors
+Faraday::Response.register_middleware(errors: Faraday::Errors)