Class: EmailInquire::Validator::CustomValidDomain
- Defined in:
- lib/email_inquire/validator/custom_valid_domain.rb
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
9 10 11 |
# File 'lib/email_inquire/validator/custom_valid_domain.rb', line 9 def validate response.valid! if EmailInquire.custom_valid_domains.include?(domain) end |