Sha256: 90909f851241b3fe69236d4fd5d588b080c23b21a3fe3389eaafa14c8989b658
Contents?: true
Size: 383 Bytes
Versions: 41
Compression:
Stored size: 383 Bytes
Contents
require "valid_email2/email_validator" module ValidEmail2 def self.disposable_emails @@disposable_emails ||= YAML.load_file(File.expand_path("../../vendor/disposable_emails.yml",__FILE__)) end def self.blacklist blacklist_file = "vendor/blacklist.yml" @@blacklist ||= File.exists?(blacklist_file) ? YAML.load_file(File.expand_path(blacklist_file)) : [] end end
Version data entries
41 entries across 41 versions & 1 rubygems