module ActionMailbox::Routing
See ActionMailbox::Base
for how to specify routing.
Public instance methods
Source code GitHub
# File actionmailbox/lib/action_mailbox/routing.rb, line 21
def mailbox_for(inbound_email)
router.mailbox_for(inbound_email)
end
Source code GitHub
# File actionmailbox/lib/action_mailbox/routing.rb, line 17
def route(inbound_email)
router.route(inbound_email)
end
Source code GitHub
# File actionmailbox/lib/action_mailbox/routing.rb, line 13
def routing(routes)
router.add_routes(routes)
end