Class: Truemail::Validator::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/truemail/validator.rb

Instance Method Summary collapse

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_emailObject


13
14
15
# File 'lib/truemail/validator.rb', line 13

def punycode_email
  @punycode_email ||= Truemail::PunycodeRepresenter.call(email)
end