method

match_to_mailbox

rails latest stable - Class: ActionMailbox::Router

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

match_to_mailbox(inbound_email)
private

No documentation available.

# 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