Class: ForemanPatch::CycleMailer
- Inherits:
-
ApplicationMailer
- Object
- ApplicationMailer
- ForemanPatch::CycleMailer
- Defined in:
- app/mailers/foreman_patch/cycle_mailer.rb
Instance Method Summary collapse
Instance Method Details
#planned(options) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'app/mailers/foreman_patch/cycle_mailer.rb', line 5 def planned() @user = [:user] @cycle = [:cycle] set_locale_for(@user) do mail(to: @user.mail, subject: (_("Patching Cycle Planned"))) end end |