Method: HTTP::Requestor#patch
- Defined in:
- lib/http_requestor.rb
#patch(path, data = {}, headers = nil) ⇒ Object
73 74 75 76 77 78 79 80 81 |
# File 'lib/http_requestor.rb', line 73 def patch(path,data={},headers=nil) data_to_query(data) if headers == nil response = @http.send_request('PATCH', path, @defaults[:data]) else response = @http.send_request('PATCH', path, @defaults[:data], headers) end response end |