lib/api_auth/request_drivers/http.rb in api-auth-2.3.0 vs lib/api_auth/request_drivers/http.rb in api-auth-2.3.1
- old
+ new
@@ -70,9 +70,13 @@
else
body_source.to_s
end
end
+ def fetch_headers
+ capitalize_keys @request.headers.to_h
+ end
+
private
def find_header(keys)
keys.map { |key| @request[key] }.compact.first
end