@testwizard/commands-video
Version:
20 lines (14 loc) • 547 B
JavaScript
;
const Commands = require('@testwizard/commands-core');
const Result = Commands.ResultForOk;
class DeleteAllRecordingsCommand extends Commands.CommandBase {
constructor(testObject) {
super(testObject, 'DeleteAllRecordings');
}
async execute() {
const requestObj = [];
const json = await this.executeCommand(requestObj);
return new Result(json, 'deleteAllRecordings was successful', 'deleteAllRecordings failed');
}
}
module.exports = DeleteAllRecordingsCommand;