Sha256: d277ea8d0a30ef4dade19ed99c7784686ec75bbfcfab8b36d6e2a55d1594e1fe

Contents?: true

Size: 249 Bytes

Versions: 51

Compression:

Stored size: 249 Bytes

Contents

class NoteMailer < ActionMailer::Base
  default from: "from@example.com"
  
  def gmail(body , to="", subject="", from="")
    @body   = body
    @title  = subject
    @from   = from
    mail(:to => to, :subject => subject, :from => from)
  end
end

Version data entries

51 entries across 47 versions & 4 rubygems

Version Path
jinda-0.8.0 test/dummy/app/mailers/note_mailer.rb
jinda-0.8.0 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda-0.7.7.4 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda-0.7.7.4 test/dummy/app/mailers/note_mailer.rb
jinda-0.7.7.3 test/dummy/app/mailers/note_mailer.rb
jinda-0.7.7.3 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda-0.7.7.2 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda-0.7.7.1 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda_mind-1.0.0 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda-0.7.7 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda-0.7.6 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda-0.7.5.5 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda-0.7.5.4 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda-0.7.5.3 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda-0.7.5.2 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda-0.7.5.0 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda-0.7.3 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda-0.7.2 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda-0.7.1 lib/generators/jinda/templates/app/mailers/note_mailer.rb
jinda-0.7.0.4 lib/generators/jinda/templates/app/mailers/note_mailer.rb