class NoteMailer

Public Instance Methods

gmail(body , to="", subject="", from="") click to toggle source
# File lib/generators/jinda_engine/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