Class: HelloWorldDbMailer
Instance Attribute Summary
#object
Instance Method Summary
collapse
#build, #mail_attachments
Instance Method Details
#fields ⇒ Object
4
5
6
7
8
9
10
|
# File 'lib/generators/db_mailer_rails/templates/hello_world_db_mailer.rb', line 4
def fields
super.merge(
user_name: 'User test name',
user_email: 'User test e-mail address',
app_name: 'Application name'
)
end
|
#user_email ⇒ Object
16
17
18
|
# File 'lib/generators/db_mailer_rails/templates/hello_world_db_mailer.rb', line 16
def user_email
'[email protected]'
end
|
#user_name ⇒ Object
12
13
14
|
# File 'lib/generators/db_mailer_rails/templates/hello_world_db_mailer.rb', line 12
def user_name
'User'
end
|