class BaseTest::LateInlineAttachmentMailer

Public Instance Methods

on_render() click to toggle source
# File actionmailer/test/base_test.rb, line 272
def on_render
  mail from: "welcome@example.com", to: "to@example.com"
end
welcome() click to toggle source
# File actionmailer/test/base_test.rb, line 260
def welcome
  mail body: "yay", from: "welcome@example.com", to: "to@example.com"
  attachments.inline["invoice.pdf"] = "This is test File content"
end