diff --git a/lib/zero/request.rb b/lib/zero/request.rb index b38bd1a..6f478df 100644 --- a/lib/zero/request.rb +++ b/lib/zero/request.rb @@ -55,7 +55,7 @@ module Zero def head?; @method == :head; end # is the method 'PATCH'? # @return true if this is a patch request - def head?; @method == :patch; end + def patch?; @method == :patch; end private