lib/gitlab/request.rb in fs-gitlab-4.18.2 vs lib/gitlab/request.rb in fs-gitlab-4.19.1

- old
+ new

@@ -36,10 +36,10 @@ response ? JSON.load(response) : {} rescue JSON::ParserError raise Error::Parsing, 'The response is not a valid JSON' end - %w[get post put delete].each do |method| + %w[get post put patch delete].each do |method| define_method method do |path, options = {}| params = options.dup httparty_config(params)