Class: EmailInquire::Validator::CommonProvider
- Defined in:
- lib/email_inquire/validator/common_provider.rb
Constant Summary collapse
- DOMAINS =
load_data("common_providers").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
12 13 14 |
# File 'lib/email_inquire/validator/common_provider.rb', line 12 def validate response.valid! if DOMAINS.include?(domain) end |