class HelloWorldDbMailer

Public Instance Methods

fields() click to toggle source
Calls superclass method DbMailerRails::Base#fields
# 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() click to toggle source
# File lib/generators/db_mailer_rails/templates/hello_world_db_mailer.rb, line 16
def user_email
  'db_mailer_rails@example.com'
end
user_name() click to toggle source
# File lib/generators/db_mailer_rails/templates/hello_world_db_mailer.rb, line 12
def user_name
  'User'
end