Class: JindaMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- JindaMailer
- Defined in:
- lib/generators/jinda/templates/app/mailers/jinda_mailer.rb
Instance Method Summary collapse
Instance Method Details
#gmail(ui, to = "", subject = "", from = "") ⇒ Object
3 4 5 6 |
# File 'lib/generators/jinda/templates/app/mailers/jinda_mailer.rb', line 3 def gmail(ui, to="", subject="", from="") @ui = ui mail(:to => to, :subject => subject, :from => from) end |