@broadcom/endevor-bridge-for-git-rest-api
Version:
Endevor Bridge for Git Rest client
16 lines (15 loc) • 462 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EBGRestService = void 0;
class EBGRestService {
constructor(restClient) {
this.submit = (request) => {
return request.getObservable(this.restClient);
};
this.execute = (request) => {
return request.getPromise(this.restClient);
};
this.restClient = restClient;
}
}
exports.EBGRestService = EBGRestService;