diff options
Diffstat (limited to 'lib/action_mailroom')
-rw-r--r-- | lib/action_mailroom/mailbox.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/action_mailroom/mailbox.rb b/lib/action_mailroom/mailbox.rb index 7f16165221..44dcd691b1 100644 --- a/lib/action_mailroom/mailbox.rb +++ b/lib/action_mailroom/mailbox.rb @@ -5,7 +5,7 @@ class ActionMailroom::Mailbox class << self def receive(inbound_email) - new(inbound_email).process_with_state_and_exception_handling + new(inbound_email).perform_processing end def routing(routes) @@ -20,7 +20,7 @@ class ActionMailroom::Mailbox @inbound_email = inbound_email end - def process_with_state_and_exception_handling + def perform_processing inbound_email.processing! process inbound_email.delivered! |