checkbook-api
Advanced tools
Comparing version 3.2.2 to 3.2.3
@@ -45,2 +45,10 @@ 'use strict'; | ||
}, callback); | ||
}, | ||
addSignature: function(params, callback) { | ||
return this.resource.request({ | ||
method: 'POST', | ||
uri: '/user/signature', | ||
body: params | ||
}, callback); | ||
} | ||
@@ -47,0 +55,0 @@ |
{ | ||
"name": "checkbook-api", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"description": "Node.js library for the Checkbook.io API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -128,2 +128,3 @@ # Node.js library for the Checkbook.io API | ||
* ```delete(user_id, callback)``` [:book:](https://docs.checkbook.io/reference#delete-user) | ||
* ```addSignature(params, callback)``` [:book:](https://docs.checkbook.io/reference#post-user-signature) | ||
@@ -130,0 +131,0 @@ --- |
@@ -95,2 +95,19 @@ var CheckbookAPI = require("../lib/checkbook"); | ||
}); | ||
*/ | ||
/* | ||
Add user signature | ||
https://docs.checkbook.io/reference#post-user-signature | ||
*/ | ||
/* | ||
Checkbook.users.addSignature({ | ||
signature: 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=' | ||
}, function (error, response) { | ||
if (error) { | ||
console.log('Error:', error); | ||
} else { | ||
console.log('Response:', response); | ||
} | ||
}); | ||
*/ |
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
149402
773
155