Class: NoteMailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- NoteMailer
- Defined in:
- app/mailers/jinda_engine/note_mailer.rb,
lib/generators/jinda_engine/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 'app/mailers/jinda_engine/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 |