Skip to content

Commit

Permalink
Merge pull request #51076 from yahonda/enum_action_mailbox
Browse files Browse the repository at this point in the history
Address `Defining enums with keyword arguments` warning in Action Mai…
  • Loading branch information
yahonda committed Feb 14, 2024
2 parents aafbf0a + 676fe1b commit 9b343c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionmailbox/app/models/action_mailbox/inbound_email.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class InboundEmail < Record
include Incineratable, MessageId, Routable

has_one_attached :raw_email, service: ActionMailbox.storage_service
enum status: %i[ pending processing delivered failed bounced ]
enum :status, %i[ pending processing delivered failed bounced ]

def mail
@mail ||= Mail.from_source(source)
Expand Down

0 comments on commit 9b343c2

Please sign in to comment.