Method: CrAPI::Client#delete
- Defined in:
- lib/crapi/client.rb
#delete(path, headers: {}, query: {}) ⇒ Object
CRUD method: DELETE
112 113 114 115 116 117 118 |
# File 'lib/crapi/client.rb', line 112 def delete(path, headers: {}, query: {}) headers = @default_headers.merge(headers) response = @http.delete(full_path(path, query: query), headers) ensure_success!(response) parse_response(response) end |