Sha256: 697bebbac3643b46add67c6768f7846779006474d27db80bc546114731176833
Contents?: true
Size: 327 Bytes
Versions: 2
Compression:
Stored size: 327 Bytes
Contents
# frozen_string_literal: true require "damerau-levenshtein" require "email_inquire/validator/base" module EmailInquire module Validator class CommonProvider < Base DOMAINS = load_data("common_providers").freeze def validate response.valid! if 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/common_provider.rb |
email_inquire-0.10.0 | lib/email_inquire/validator/common_provider.rb |