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
+1 -1
View File
@@ -26,7 +26,7 @@ class SMTPEndpoint < ApplicationRecord
has_many :routes, as: :endpoint
has_many :additional_route_endpoints, dependent: :destroy, as: :endpoint
SSL_MODES = ["None", "Auto", "STARTTLS", "TLS"].freeze
SSL_MODES = %w[None Auto STARTTLS TLS].freeze
before_destroy :update_routes