Sha256: d009ef7f9cd23b17c731adf0ae999d4a03414e2275fb0d39f43d92ef6b6f577b
Contents?: true
Size: 302 Bytes
Versions: 2
Compression:
Stored size: 302 Bytes
Contents
# frozen_string_literal: true require "email_inquire/validator/base" module EmailInquire module Validator class OneTimeProvider < Base DOMAINS = load_data("one_time_providers").freeze def validate response.invalid! 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/one_time_provider.rb |
email_inquire-0.10.0 | lib/email_inquire/validator/one_time_provider.rb |