diff options
author | scottmotte <scott@scottmotte.com> | 2014-05-28 15:10:23 -0700 |
---|---|---|
committer | scottmotte <scott@scottmotte.com> | 2014-05-28 15:10:23 -0700 |
commit | 882ca106f508a2f09af9f772c438686966bbe79d (patch) | |
tree | b6d9fedc8dba3010bddf43b021bdaf94b7896197 /lib/sendgrid.js | |
parent | b39924fc1fee9fc2e8754c4cb6259d7521a0b38a (diff) | |
download | sendgrid-nodejs-882ca106f508a2f09af9f772c438686966bbe79d.zip sendgrid-nodejs-882ca106f508a2f09af9f772c438686966bbe79d.tar.gz sendgrid-nodejs-882ca106f508a2f09af9f772c438686966bbe79d.tar.bz2 |
Update to latest smtpapi nodejs lib
Diffstat (limited to 'lib/sendgrid.js')
-rw-r--r-- | lib/sendgrid.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/sendgrid.js b/lib/sendgrid.js index 085085d..559ba23 100644 --- a/lib/sendgrid.js +++ b/lib/sendgrid.js @@ -13,15 +13,6 @@ var Sendgrid = function(api_user, api_key, options) { var _this = this; this.options = options || {}; - /* - * Sends an email and returns true if the - * message was sent successfully. - * - * @param {Email|Object} email An email object or a hash that has - * the values for the email to be sent. - * @param {Function} callback A function to call when the processing is done. - * This parameter is optional. - */ var send = function(email, callback) { var callback = callback || function() { }; if (email.constructor !== Email) { @@ -31,9 +22,6 @@ var Sendgrid = function(api_user, api_key, options) { _send.bind(this)(email, callback); }; - /* - * Psuedo-private methods - */ var _send = function(email, callback) { var postOptions = { method : 'POST', |