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