add PATCH

This commit is contained in:
Albert Yi
2016-10-19 14:41:59 -07:00
parent 25028f0c7f
commit 4c1949f1c8

View File

@@ -1,7 +1,7 @@
module ApiLimiter
def self.idempotent?(method)
case method
when "POST", "PUT", "DELETE"
when "POST", "PUT", "DELETE", "PATCH"
false
else