diff --git a/lib/models/email.js b/lib/models/email.js index 3950db6e..fb274065 100644 --- a/lib/models/email.js +++ b/lib/models/email.js @@ -14,16 +14,12 @@ var properties = { }; /** - * The Email Model. + * @property {String} to Email addressee. Required. + * @property {String} from Email sender address. Required. + * @property {String} subject Email subject string. Required. + * @property {String} text Text body of email. + * @property {String} html HTML body of email. * - * **Properties** - * - * - `to` - String (required) - * - `from` - String (required) - * - `subject` - String (required) - * - `text` - String - * - `html` - String - * * @class * @inherits {Model} */ @@ -58,4 +54,4 @@ var Email = module.exports = Model.extend('Email', properties); Email.prototype.send = function() { throw new Error('You must connect the Email Model to a Mail connector'); -} \ No newline at end of file +}