Class: EmailInquire::Validator::KnownInvalidDomain
- Defined in:
- lib/email_inquire/validator/known_invalid_domain.rb
Constant Summary collapse
- DOMAINS =
load_data("known_invalid_domains").freeze
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from EmailInquire::Validator::Base
Instance Method Details
#validate ⇒ Object
11 12 13 |
# File 'lib/email_inquire/validator/known_invalid_domain.rb', line 11 def validate response.invalid! if DOMAINS.include?(domain) end |