Sha256: c48da49417b8f29cfc20321f614cc7be0dde98922a94d4a2106291b90c31f124

Contents?: true

Size: 259 Bytes

Versions: 4

Compression:

Stored size: 259 Bytes

Contents

class AdHocMailer < MailyHerald::Mailer
  default from: "no-reply@mailyherald.org"

  def ad_hoc_mail user
    mail to: user.email, subject: "Test"
  end

  def missing_mailing_mail user
    mail to: user.email, subject: "Test", from: "foo@bar.com"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
maily_herald-0.9.4 spec/dummy/app/mailers/ad_hoc_mailer.rb
maily_herald-0.9.3 spec/dummy/app/mailers/ad_hoc_mailer.rb
maily_herald-0.9.2 spec/dummy/app/mailers/ad_hoc_mailer.rb
maily_herald-0.9.1 spec/dummy/app/mailers/ad_hoc_mailer.rb