Class: IsEmail::Diagnosis::Valid Private

Inherits:
Base
  • Object
show all
Defined in:
lib/is_email/diagnosis/valid.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Indicates an address is valid

Constant Summary collapse

DESCRIPTION =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

"Address is valid."
ERROR_CODES =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

{"VALID" => 1}.freeze
MESSAGES =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

{
  "VALID" =>
  "Address is valid. Please note that this does not mean " \
  "the address actually exists, nor even that the domain " \
  "actually exists. This address could be issued by the " \
  "domain owner without breaking the rules of any RFCs."
}.freeze

Constants inherited from Base

Base::REFERENCES

Instance Attribute Summary

Attributes inherited from Base

#code, #message, #references, #type

Instance Method Summary collapse

Methods inherited from Base

#<=>, #==, #hash, #inspect

Constructor Details

#initialize(type = "VALID") ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • type (String) (defaults to: "VALID")


23
24
25
# File 'lib/is_email/diagnosis/valid.rb', line 23

def initialize(type = "VALID")
  super
end