node-gitlab
Advanced tools
Comparing version 0.0.3 to 0.0.4
0.0.4 / 2013-03-27 | ||
================== | ||
* add client.projects.getByPath() | ||
0.0.3 / 2013-03-26 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -22,1 +22,14 @@ /*! | ||
module.exports = Project; | ||
/** | ||
* Get Project info by path. | ||
* | ||
* /api/v3/project?private_token=xxx&&path=fengmk2/fawave | ||
* | ||
* @param {Object} params | ||
* - {String} path | ||
* @param {Function(err, project)} callback | ||
*/ | ||
Project.prototype.getByPath = function (params, callback) { | ||
this.client.request('get', '/project', params, callback); | ||
}; |
{ | ||
"name": "node-gitlab", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "gitlab", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
12304
251