aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2018-09-18 16:31:16 -0700
committerDavid Heinemeier Hansson <david@loudthinking.com>2018-09-18 16:31:16 -0700
commit1ac1459b0f1c257bef410f166c2ffc90bf36deca (patch)
tree2e0adef636cbd7163617daf67060bc17d8e389fd /lib
parent4d428e078efa16f29110caff9e609e06e09d3072 (diff)
downloadrails-1ac1459b0f1c257bef410f166c2ffc90bf36deca.tar.gz
rails-1ac1459b0f1c257bef410f166c2ffc90bf36deca.tar.bz2
rails-1ac1459b0f1c257bef410f166c2ffc90bf36deca.zip
More scalable name!
There'll probably be other concerns we need to do around the processing.
Diffstat (limited to 'lib')
-rw-r--r--lib/action_mailroom/mailbox.rb4
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!