mirror of
https://github.com/postalserver/postal.git
synced 2026-10-19 10:46:32 +00:00
style(rubocop): Style/WordArray
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user