gitbeaker/src/Models/ProjectLabels.js
Justin Dalrymple 26fc005b55 Adding paging
2017-09-14 19:19:47 -04:00

13 lines
287 B
JavaScript

const BaseModel = require('./BaseModel');
const Utils = require('../Utils');
class ProjectLabels extends BaseModel {
all(projectId, options = {}) {
const pId = Utils.parse(projectId);
return this.get(`projects/${pId}/labels`, options);
}
}
module.exports = ProjectLabels;