summaryrefslogtreecommitdiff
path: root/lib/zero
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zero')
-rw-r--r--lib/zero/request.rb2
1 files changed, 1 insertions, 1 deletions
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