lib/faraday/api_key.rb in reviewed-1.2.4 vs lib/faraday/api_key.rb in reviewed-1.3.0
- old
+ new
@@ -9,6 +9,6 @@
@app.call(env)
end
end
end
-Faraday.register_middleware :request, api_key: Faraday::ApiKey
+Faraday::Request.register_middleware(api_key: Faraday::ApiKey)