Class: EmailTemplate
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- EmailTemplate
- Defined in:
- lib/generators/no_notifier_needed/templates/email_template.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
Returns the value of attribute params.
Instance Method Summary collapse
Instance Attribute Details
#params ⇒ Object
Returns the value of attribute params.
8 9 10 |
# File 'lib/generators/no_notifier_needed/templates/email_template.rb', line 8 def params @params end |
Instance Method Details
#clean_inputs ⇒ Object
10 11 12 13 |
# File 'lib/generators/no_notifier_needed/templates/email_template.rb', line 10 def clean_inputs body.strip! subject.strip! end |