Methods
Public Instance methods
[ show source ]
# File test/mail_render_test.rb, line 14
14: def file_template(recipient)
15: recipients recipient
16: subject "using helpers"
17: from "tester@example.com"
18: body render(:file => "signed_up", :body => { :recipient => recipient })
19: end
[ show source ]
# File test/mail_render_test.rb, line 21
21: def initialize_defaults(method_name)
22: super
23: mailer_name "test_mailer"
24: end
[ show source ]
# File test/mail_render_test.rb, line 7
7: def inline_template(recipient)
8: recipients recipient
9: subject "using helpers"
10: from "tester@example.com"
11: body render(:inline => "Hello, <%= @world %>", :body => { :world => "Earth" })
12: end