Class: IsEmail::Diagnosis::Deprecated Private

Inherits:
Base
  • Object
show all
Defined in:
lib/is_email/diagnosis/deprecated.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 has deprecated elements but may still be usable

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 contains deprecated elements but may still be valid in restricted contexts."
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.

{
  "LOCALPART" => 33,
  "FWS" => 34,
  "QTEXT" => 35,
  "QP" => 36,
  "COMMENT" => 37,
  "CTEXT" => 38,
  "CFWS_NEAR_AT" => 49
}.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.

{
  "LOCALPART" => "Address contains a local part in deprecated form.",
  "FWS" => "Address contains Folding White Space in deprecated form.",
  "QTEXT" => "Address contains a quoted string in deprecated form.",
  "QP" => "Address contains a quoted pair in deprecated form.",
  "COMMENT" => "Address contains a comment in deprecated form.",
  "CTEXT" => "Address contains a comment with a deprecated character.",
  "CFWS_NEAR_AT" => "Address contains a comment or Folding White Space around the @ sign."
}.freeze
REFERENCES =

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.

{
  "LOCALPART" => ["obs-local-part"],
  "FWS" => ["obs-local-part", "obs-domain"],
  "QTEXT" => ["obs-qtext"],
  "QP" => ["obs-qp"],
  "COMMENT" => ["obs-local-part", "obs-domain"],
  "CTEXT" => ["obs-ctext"],
  "CFWS_NEAR_AT" => ["CFWS-near-at", "SHOULD-NOT"]
}.freeze

Instance Attribute Summary

Attributes inherited from Base

#code, #message, #references, #type

Method Summary

Methods inherited from Base

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

Constructor Details

This class inherits a constructor from IsEmail::Diagnosis::Base