Sha256: bc41ee21a9cb2730af0ad094deb7f9386017f04cee9dcb5a3fb180ec87d1550c

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

require "email_inquire/validator/base"

module EmailInquire
  module Validator
    class CustomValidDomain < Base

      def validate
        response.valid! if EmailInquire.custom_valid_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_valid_domain.rb
email_inquire-0.10.0 lib/email_inquire/validator/custom_valid_domain.rb