lib/api_auth/headers.rb in api-auth-1.2.6 vs lib/api_auth/headers.rb in api-auth-1.3.0
- old
+ new
@@ -32,9 +32,11 @@
ActionDispatchRequest.new(request)
when /ActionController::CgiRequest/
ActionControllerRequest.new(request)
when /HTTPI::Request/
HttpiRequest.new(request)
+ when /Faraday::Request/
+ FaradayRequest.new(request)
else
nil
end
return new_request if new_request