Sha256: 5c166faf0400b0fba8f98e5a0c5097a518fb1ebeacff1922919f0f0b0e4899ff
Contents?: true
Size: 278 Bytes
Versions: 2
Compression:
Stored size: 278 Bytes
Contents
# frozen_string_literal: true require "email_inquire/validator/base" module EmailInquire module Validator class CustomInvalidDomain < Base def validate response.invalid! if EmailInquire.custom_invalid_domains.include?(domain) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
email_inquire-0.11.0 | lib/email_inquire/validator/custom_invalid_domain.rb |
email_inquire-0.10.0 | lib/email_inquire/validator/custom_invalid_domain.rb |