Class: BalaclavaMailer
- Inherits:
-
ApplicationMailer
- Object
- ApplicationMailer
- BalaclavaMailer
- Defined in:
- lib/generators/balaclava/templates/mailer.rb
Instance Method Summary collapse
Instance Method Details
#authentication_code_email(user) ⇒ Object
2 3 4 5 |
# File 'lib/generators/balaclava/templates/mailer.rb', line 2 def authentication_code_email(user) @user = user mail(to: @user.email, subject: 'Authentication Code') end |