diff options
author | colorbox <colorbox222@gmail.com> | 2019-01-16 00:55:42 +0900 |
---|---|---|
committer | colorbox <colorbox222@gmail.com> | 2019-01-17 01:10:21 +0900 |
commit | 620ba4c12a6a075607c260fe30c95e51b51b878f (patch) | |
tree | b61c16bc77c5c685389f7f79099f73823fb57a53 /actionmailbox/app/models/action_mailbox/inbound_email/routable.rb | |
parent | d67863af390b45ed8dde551071a29b3d347bb8be (diff) | |
download | rails-620ba4c12a6a075607c260fe30c95e51b51b878f.tar.gz rails-620ba4c12a6a075607c260fe30c95e51b51b878f.tar.bz2 rails-620ba4c12a6a075607c260fe30c95e51b51b878f.zip |
Fix document formatting on ActionMailbox [ci skip]
Use `+` instead of backquote.
Diffstat (limited to 'actionmailbox/app/models/action_mailbox/inbound_email/routable.rb')
-rw-r--r-- | actionmailbox/app/models/action_mailbox/inbound_email/routable.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/actionmailbox/app/models/action_mailbox/inbound_email/routable.rb b/actionmailbox/app/models/action_mailbox/inbound_email/routable.rb index 58d67eb20c..39565df166 100644 --- a/actionmailbox/app/models/action_mailbox/inbound_email/routable.rb +++ b/actionmailbox/app/models/action_mailbox/inbound_email/routable.rb @@ -1,9 +1,9 @@ # frozen_string_literal: true -# A newly received `InboundEmail` will not be routed synchronously as part of ingress controller's receival. -# Instead, the routing will be done asynchronously, using a `RoutingJob`, to ensure maximum parallel capacity. +# A newly received +InboundEmail+ will not be routed synchronously as part of ingress controller's receival. +# Instead, the routing will be done asynchronously, using a +RoutingJob+, to ensure maximum parallel capacity. # -# By default, all newly created `InboundEmail` records that have the status of `pending`, which is the default, +# By default, all newly created +InboundEmail+ records that have the status of +pending+, which is the default, # will be scheduled for automatic, deferred routing. module ActionMailbox::InboundEmail::Routable extend ActiveSupport::Concern @@ -12,12 +12,12 @@ module ActionMailbox::InboundEmail::Routable after_create_commit :route_later, if: :pending? end - # Enqueue a `RoutingJob` for this `InboundEmail`. + # Enqueue a +RoutingJob+ for this +InboundEmail+. def route_later ActionMailbox::RoutingJob.perform_later self end - # Route this `InboundEmail` using the routing rules declared on the `ApplicationMailbox`. + # Route this +InboundEmail+ using the routing rules declared on the +ApplicationMailbox+. def route ApplicationMailbox.route self end |