Methods
Public Instance methods
[ show source ]
# File test/mail_helper_test.rb, line 13
13: def use_helper(recipient)
14: recipients recipient
15: subject "using helpers"
16: from "tester@example.com"
17: end
[ show source ]
# File test/mail_helper_test.rb, line 40
40: def use_helper_method(recipient)
41: recipients recipient
42: subject "using helpers"
43: from "tester@example.com"
44: self.body = { :text => "emphasize me!" }
45: end
[ show source ]
# File test/mail_helper_test.rb, line 26
26: def use_mail_helper(recipient)
27: recipients recipient
28: subject "using mailing helpers"
29: from "tester@example.com"
30: self.body = { :text =>
31: "But soft! What light through yonder window breaks? It is the east, " +
32: "and Juliet is the sun. Arise, fair sun, and kill the envious moon, " +
33: "which is sick and pale with grief that thou, her maid, art far more " +
34: "fair than she. Be not her maid, for she is envious! Her vestal " +
35: "livery is but sick and green, and none but fools do wear it. Cast " +
36: "it off!"
37: }
38: end
[ show source ]
# File test/mail_helper_test.rb, line 19
19: def use_test_helper(recipient)
20: recipients recipient
21: subject "using helpers"
22: from "tester@example.com"
23: self.body = { :text => "emphasize me!" }
24: end
Private Instance methods
[ show source ]
# File test/mail_helper_test.rb, line 49
49: def name_of_the_mailer_class
50: self.class.name
51: end