Sha256: 30fee515a76f0cb1d4ce3f78b818bbe3e5173a43df3dba0a50fbd05753091909
Contents?: true
Size: 600 Bytes
Versions: 2
Compression:
Stored size: 600 Bytes
Contents
class TestMailer < ActionMailer::Base default :subject => 'hello', :to => 'sheldon@bigbangtheory.com', :from => 'leonard@bigbangtheory.com' def simple_message mail end def tagged_message mail(:tag => 'delivery') end def multipart_message mail(:subject => "Your invitation to join Mixlr.") do |format| format.text format.html end end def message_with_attachment attachments['empty.gif'] = File.join(File.dirname(__FILE__), '..', '..', 'fixtures', 'empty.gif') mail(:subject => "Message with attachment.") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
postmark-rails-0.5.2 | spec/fixtures/models/test_mailer.rb |
postmark-rails-0.5.1 | spec/fixtures/models/test_mailer.rb |