Merge branch 'develop' into api-v3

This commit is contained in:
Blade Barringer
2015-12-31 12:17:57 -06:00
25 changed files with 794 additions and 674 deletions

View File

@@ -33,6 +33,12 @@ class ApiUser {
this.put = _requestMaker(this, 'put');
this.del = _requestMaker(this, 'del');
}
update (options) {
return new Promise((resolve) => {
_updateDocument('users', this, options, resolve);
});
}
}
// Sets up an abject that can make all REST requests