lib/truemail/validate/smtp/response.rb in truemail-0.1.1.2 vs lib/truemail/validate/smtp/response.rb in truemail-0.1.1.3
- old
+ new
@@ -1,8 +1,10 @@
+# frozen_string_literal: true
+
module Truemail
module Validate
class Smtp
- RESPONSE_ATTRS = %i[port_opened connection helo mailfrom rcptto errors]
+ RESPONSE_ATTRS = %i[port_opened connection helo mailfrom rcptto errors].freeze
Response = Struct.new(*RESPONSE_ATTRS, keyword_init: true) do
def initialize(errors: {}, **args)
super
end