跳至内容 跳至搜索

有关如何指定路由的说明,请参阅 ActionMailbox::Base

方法
M
R

实例公共方法

mailbox_for(inbound_email)

# File actionmailbox/lib/action_mailbox/routing.rb, line 21
def mailbox_for(inbound_email)
  router.mailbox_for(inbound_email)
end

route(inbound_email)

# File actionmailbox/lib/action_mailbox/routing.rb, line 17
def route(inbound_email)
  router.route(inbound_email)
end

routing(routes)

# File actionmailbox/lib/action_mailbox/routing.rb, line 13
def routing(routes)
  router.add_routes(routes)
end