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