diff options
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', |