Skip to content

Commit

Permalink
Merge pull request #332 from cantinac/master
Browse files Browse the repository at this point in the history
Add PATCH to the POST, PUT list
  • Loading branch information
iNecas committed Feb 13, 2015
2 parents eb2a160 + 822ed22 commit 2c44503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/apipie/extractor/recorder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c44503

Please sign in to comment.