class

ActionMailbox::Base

Inherits Reference < Object

Wire the routing DSL into mailbox classes (the gem: Routing concern with a class-level router; the mailbox_name → class resolution is a compile-time constant lookup here).

Constants

MAILBOXES = [] of TypeNode

Constructors

new(inbound_email : InboundEmail)
Source

Class methods

mailbox_for(inbound_email : InboundEmail) : Base.class | Nil
Source
mailbox_for_name(name : String) : Base.class
Source
receive(inbound_email : InboundEmail) : Nil
Source
register_mailbox(name : String, klass : Base.class) : Nil
Source
route(inbound_email : InboundEmail) : Nil
Source
router
Source

Instance methods

__run_before_processing
Source
bounced!
Source
delivered!

delegate :mail, :delivered!, :bounced! (the gem's Base)

Source
finished_processing?
Source
inbound_email
Source
mail
Source
perform_processing
Source
process
Source

Macros

before_processing(method_name = nil, &block)
Source
routing(routes)
Source