UNPKG

gitlab

Version:

Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.

13 lines (12 loc) 390 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const infrastructure_1 = require("../infrastructure"); class Licence extends infrastructure_1.BaseService { all() { return infrastructure_1.RequestHelper.get(this, 'licence'); } create() { return infrastructure_1.RequestHelper.post(this, 'licence'); } } exports.default = Licence;