lib/flexirest/request.rb in flexirest-1.2.13 vs lib/flexirest/request.rb in flexirest-1.2.14

- old
+ new

@@ -337,9 +337,11 @@ response = connection.get(@url, request_options) when :put response = connection.put(@url, @body, request_options) when :post response = connection.post(@url, @body, request_options) + when :patch + response = connection.patch(@url, @body, request_options) when :delete response = connection.delete(@url, request_options) else raise InvalidRequestException.new("Invalid method #{http_method}") end