initial checkin

This commit is contained in:
Dave Horton
2021-02-17 20:06:23 -05:00
commit 87b8e5ac92
29 changed files with 3321 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
const assert = require('assert');
class Jambonz {
constructor(accountSid, apiKey, opts) {
assert.ok(typeof accountSid === 'string', 'accountSid required');
assert.ok(typeof apiKey === 'string', 'apiKey required');
opts = opts || {};
this.endpoint = opts.endpoint;
// TODO: test credentials, throw exception on failure
}
}
module.exports = Jambonz;