Sha256: 33e8ef00fe2182f73c181db131d5b7f40d7b6130602d33e14188492cb1b88cfb

Contents?: true

Size: 409 Bytes

Versions: 1

Compression:

Stored size: 409 Bytes

Contents

class Mailer < ActionMailer::Base

  def letter
    recipients 'original.to@example.com'
    cc 'original.cc@example.com'
    bcc 'original.bcc@example.com'
    subject 'Hello Universe!'
  end

  def html_letter
    recipients 'original.to@example.com'
    cc 'original.cc@example.com'
    bcc 'original.bcc@example.com'
    subject 'Hello Universe!'
    content_type "text/html"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mail_magnet-0.2.0 spec/app_root/app/models/mailer.rb