module

ActionMailer

Constants

MAILERS = [] of Nil

Compile-time registry of mailer classes (for the generated class-level action methods below).

PREVIEWS = [] of Nil
VERSION = "0.1.0"

Class methods

deliveries
Source
lookup_mailer(name : String)

End-of-program codegen: for every mailer class, each public instance method (the "actions") gets a class-level twin returning a lazy MessageDelivery — the analog of Rails' class-level method_missing — plus a serialized-args dispatcher (__deliver) used by MailDeliveryJob, and a name lookup (ActionMailer.lookup_mailer).

Source

Nested types