lib/cuba.rb in cuba-3.6.0 vs lib/cuba.rb in cuba-3.7.0
- old
+ new
@@ -323,13 +323,19 @@
# on get, "signup" do
# end
#
# on post, "signup" do
# end
- def get; req.get? end
- def post; req.post? end
- def put; req.put? end
- def delete; req.delete? end
+ def get; req.get? end
+ def post; req.post? end
+ def put; req.put? end
+ def patch; req.patch? end
+ def delete; req.delete? end
+ def head; req.head? end
+ def options; req.options? end
+ def link; req.link? end
+ def unlink; req.unlink? end
+ def trace; req.trace? end
# If you want to halt the processing of an existing handler
# and continue it via a different handler.
#
# @example