instance method match_to_mailbox

Ruby on Rails 6.0.6

Since v6.0.6 Last seen in v6.0.6 Private — implementation detail, not part of the public API

Signature

match_to_mailbox(inbound_email)

No documentation comment.

Parameters

inbound_email req
Source
# File actionmailbox/lib/action_mailbox/router.rb, line 36
      def match_to_mailbox(inbound_email)
        routes.detect { |route| route.match?(inbound_email) }.try(:mailbox_class)
      end

Defined in actionmailbox/lib/action_mailbox/router.rb line 36 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionMailbox::Router

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close