This commit is contained in:
Jasder 2020-07-20 15:47:58 +08:00
parent 2633e65a6c
commit 9cc2e80e98
1 changed files with 2 additions and 2 deletions

View File

@ -35,10 +35,10 @@
def put(endpoint, path, options={}) def put(endpoint, path, options={})
validate_request_params!(endpoint) validate_request_params!(endpoint)
request(:put, endpoint, path, options)
end end
def patch(url, params={}) def patch(endpoint, path, options={})
validate_request_params!(endpoint) validate_request_params!(endpoint)
request(:patch, endpoint, path, options) request(:patch, endpoint, path, options)
end end