Class: Truemail::Validator::Result
- Inherits:
-
Struct
- Object
- Struct
- Truemail::Validator::Result
- Defined in:
- lib/truemail/validator.rb
Instance Method Summary collapse
-
#initialize(mail_servers: [], errors: {}, **args) ⇒ Result
constructor
A new instance of Result.
- #punycode_email ⇒ Object
Constructor Details
#initialize(mail_servers: [], errors: {}, **args) ⇒ Result
Returns a new instance of Result.
9 10 11 |
# File 'lib/truemail/validator.rb', line 9 def initialize(mail_servers: [], errors: {}, **args) super end |
Instance Method Details
#punycode_email ⇒ Object
13 14 15 |
# File 'lib/truemail/validator.rb', line 13 def punycode_email @punycode_email ||= Truemail::Dns::PunycodeRepresenter.call(email) end |