Sha256: f1147f07991e77155ab67c3a60e777631623e20024258a2e4660f422565755f6
Contents?: true
Size: 453 Bytes
Versions: 2
Compression:
Stored size: 453 Bytes
Contents
# An "Email" that isn't intended to be sent, but rather as a prototype # for other Emails to be generated from. # class EmailTemplate < Email # TODO the email class hierarchy needs a major refactoring, it's backwards and convoluted before_save :generate_html_body_from_text_body validates :text_body, :presence => true validates :subject, :presence => true validates :from_email, :presence => true, :email => { :allow_blank => true } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
e9_crm-0.1.12 | app/models/email_template.rb |
e9_crm-0.1.11 | app/models/email_template.rb |