summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorscottmotte <scott@scottmotte.com>2013-07-18 20:36:08 +0000
committerscottmotte <scott@scottmotte.com>2013-07-18 20:36:08 +0000
commit07e93f39d4c82019cd270a9a9331748f5d40d1c4 (patch)
tree104fc6d97838312d6d1852c0289bbc3f33e7839d /lib
parent3b206f0a3cbe6a0b632b4775882c867ec1b8a762 (diff)
downloadsendgrid-nodejs-07e93f39d4c82019cd270a9a9331748f5d40d1c4.zip
sendgrid-nodejs-07e93f39d4c82019cd270a9a9331748f5d40d1c4.tar.gz
sendgrid-nodejs-07e93f39d4c82019cd270a9a9331748f5d40d1c4.tar.bz2
Verion bump 0.2.8 (plus, sanity check for version in tests)v0.2.8
Diffstat (limited to 'lib')
-rw-r--r--lib/sendgrid.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sendgrid.js b/lib/sendgrid.js
index 9eed1fe..84135b5 100644
--- a/lib/sendgrid.js
+++ b/lib/sendgrid.js
@@ -1,5 +1,6 @@
"use strict";
+var package_json = require('./../package.json');
var querystring = require('querystring');
var https = require('https');
var nodemailer = require('nodemailer');
@@ -22,6 +23,7 @@ if (process.env.NODE_ENV == "test") {
function SendGrid(api_user, api_key) {
this.api_user = api_user;
this.api_key = api_key;
+ this.version = package_json.version;
}
/*