lib/api_auth/request_drivers/httpi.rb in api-auth-1.3.2 vs lib/api_auth/request_drivers/httpi.rb in api-auth-1.4.0
- old
+ new
@@ -38,10 +38,14 @@
def fetch_headers
capitalize_keys @request.headers
end
+ def http_method
+ nil # not possible to get the method at this layer
+ end
+
def content_type
value = find_header(%w(CONTENT-TYPE CONTENT_TYPE HTTP_CONTENT_TYPE))
value.nil? ? "" : value
end
@@ -75,6 +79,6 @@
end
end
-end
\ No newline at end of file
+end