style(rubocop): Style/WordArray

This commit is contained in:
Adam Cooke
2024-02-10 22:39:43 +00:00
parent 129dffab9e
commit bd85920565
11 changed files with 26 additions and 26 deletions
+3 -3
View File
@@ -24,9 +24,9 @@
class Route < ApplicationRecord
MODES = ["Endpoint", "Accept", "Hold", "Bounce", "Reject"].freeze
SPAM_MODES = ["Mark", "Quarantine", "Fail"].freeze
ENDPOINT_TYPES = ["SMTPEndpoint", "HTTPEndpoint", "AddressEndpoint"].freeze
MODES = %w[Endpoint Accept Hold Bounce Reject].freeze
SPAM_MODES = %w[Mark Quarantine Fail].freeze
ENDPOINT_TYPES = %w[SMTPEndpoint HTTPEndpoint AddressEndpoint].freeze
include HasUUID