method
add_routes
v6.0.0 -
Show latest stable
- Class:
ActionMailbox::Router
add_routes(routes)public
No documentation available.
# File actionmailbox/lib/action_mailbox/router.rb, line 13
def add_routes(routes)
routes.each do |(address, mailbox_name)|
add_route address, to: mailbox_name
end
end