node-gitlab-api
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "node-gitlab-api", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -29,3 +29,2 @@ node-gitlab-api | ||
// Listing users | ||
@@ -55,5 +54,6 @@ let users = await gitlab.users.all(); | ||
- Initial release, still missing a testing suite, travis triggers and overall review | ||
[Initial Release](https://github.com/jdalrymple/node-gitlab-api/commit/64a8f8c7720f5df9a67d3f26cc8712fc21eb3ac0) (2017-06-21) | ||
------------------ | ||
- Initial release | ||
- TODO: Tests, Examples | ||
@@ -35,2 +35,3 @@ const Request = require('request-promise'); | ||
post(endpoint, options) { | ||
console.log(endpoint); | ||
return Request.post({ | ||
@@ -37,0 +38,0 @@ url: this.url + endpoint, |
@@ -10,12 +10,12 @@ class BaseModel { | ||
post(){ | ||
return this.client.post(arguments); | ||
post(endpoint, options){ | ||
return this.client.post(endpoint, options); | ||
} | ||
put(){ | ||
return this.client.put(arguments); | ||
put(endpoint, options){ | ||
return this.client.put(endpoint, options); | ||
} | ||
delete(){ | ||
return this.client.delete(arguments); | ||
delete(endpoint, options){ | ||
return this.client.delete(endpoint, options); | ||
} | ||
@@ -22,0 +22,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26984
705