instance method match_to_mailbox

Ruby on Rails 6.0.6

Since v6.0.6 Last seen in v6.0.6 Private

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.

↑↓ navigate · open · esc close