1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2026-01-17 21:39:47 +00:00

style(rubocop): Style/WordArray

هذا الالتزام موجود في:
Adam Cooke
2024-02-10 22:39:43 +00:00
الأصل 129dffab9e
التزام bd85920565
11 ملفات معدلة مع 26 إضافات و26 حذوفات

عرض الملف

@@ -23,7 +23,7 @@ class Credential < ApplicationRecord
belongs_to :server
TYPES = ["SMTP", "API", "SMTP-IP"].freeze
TYPES = %w[SMTP API SMTP-IP].freeze
validates :key, presence: true, uniqueness: { case_sensitive: false }
validates :type, inclusion: { in: TYPES }