/**
* Copyright© 2016, Oracle and/or its affiliates. All rights reserved.
*/
function DeleteProcessor(backend, apiName, endpointPath, platform, utils, persistence) {
SyncProcessor.call(this, backend, apiName, endpointPath, true, utils, persistence);
this.performRequest = function(url) {
var headers = this.getHttpHeaders({});
return platform.invokeService({
method: utils.HTTP_METHODS.DELETE,
url: url,
headers: headers
});
}
}
DeleteProcessor.prototype = Object.create(SyncProcessor.prototype);
DeleteProcessor.prototype.constructor = DeleteProcessor;