From 822ed22c77ecc2fbe4646be623c049a8a5d53d0a Mon Sep 17 00:00:00 2001 From: Adam Kenger Date: Thu, 12 Feb 2015 08:17:47 -0500 Subject: [PATCH] Add PATCH to the POST, PUT list --- lib/apipie/extractor/recorder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/apipie/extractor/recorder.rb b/lib/apipie/extractor/recorder.rb index c7db3f03..4e26355e 100644 --- a/lib/apipie/extractor/recorder.rb +++ b/lib/apipie/extractor/recorder.rb @@ -38,7 +38,7 @@ def analyze_functional_test(test_context) @verb = request.request_method.to_sym @path = request.path @params = request.request_parameters - if [:POST, :PUT].include?(@verb) + if [:POST, :PUT, :PATCH].include?(@verb) @request_data = @params else @query = request.query_string