module ActionMailbox::Routing

See ActionMailbox::Base for how to specify routing.

Public Instance Methods

route(inbound_email) Show source
# File actionmailbox/lib/action_mailbox/routing.rb, line 17
def route(inbound_email)
  router.route(inbound_email)
end
routing(routes) Show source
# File actionmailbox/lib/action_mailbox/routing.rb, line 13
def routing(routes)
  router.add_routes(routes)
end

© 2004–2019 David Heinemeier Hansson
Licensed under the MIT License.