Class: EmailTemplate

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/generators/no_notifier_needed/templates/email_template.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#paramsObject

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_inputsObject



10
11
12
13
# File 'lib/generators/no_notifier_needed/templates/email_template.rb', line 10

def clean_inputs
  body.strip!
  subject.strip!
end