Class: EmailData::Source::ActiveRecord

Inherits:
Object
  • Object
show all
Defined in:
lib/email_data/source/active_record.rb

Defined Under Namespace

Classes: ApplicationRecord, Collection, CountryTLD, DNSBL, DisposableDomain, DisposableDomainWithMx, DisposableDomainWithoutMx, DisposableEmail, FreeEmailDomain, PrivateRelay, Role, SLD, TLD

Class Method Summary collapse

Class Method Details

.country_tldsObject



84
85
86
# File 'lib/email_data/source/active_record.rb', line 84

def self.country_tlds
  @country_tlds ||= Collection.new(CountryTLD)
end

.disposable_domainsObject



92
93
94
# File 'lib/email_data/source/active_record.rb', line 92

def self.disposable_domains
  @disposable_domains ||= Collection.new(DisposableDomain)
end

.disposable_domains_with_mxObject



96
97
98
# File 'lib/email_data/source/active_record.rb', line 96

def self.disposable_domains_with_mx
  @disposable_domains_with_mx ||= Collection.new(DisposableDomainWithMx)
end

.disposable_domains_without_mxObject



100
101
102
103
# File 'lib/email_data/source/active_record.rb', line 100

def self.disposable_domains_without_mx
  @disposable_domains_without_mx ||=
    Collection.new(DisposableDomainWithoutMx)
end

.disposable_emailsObject



88
89
90
# File 'lib/email_data/source/active_record.rb', line 88

def self.disposable_emails
  @disposable_emails ||= Collection.new(DisposableEmail)
end

.dnsblsObject



117
118
119
# File 'lib/email_data/source/active_record.rb', line 117

def self.dnsbls
  @dnsbls ||= Collection.new(DNSBL)
end

.free_email_domainsObject



105
106
107
# File 'lib/email_data/source/active_record.rb', line 105

def self.free_email_domains
  @free_email_domains ||= Collection.new(FreeEmailDomain)
end

.private_relaysObject



113
114
115
# File 'lib/email_data/source/active_record.rb', line 113

def self.private_relays
  @private_relays ||= Collection.new(PrivateRelay)
end

.rolesObject



109
110
111
# File 'lib/email_data/source/active_record.rb', line 109

def self.roles
  @roles ||= Collection.new(Role)
end

.sldsObject



80
81
82
# File 'lib/email_data/source/active_record.rb', line 80

def self.slds
  @slds ||= Collection.new(SLD)
end

.tldsObject



76
77
78
# File 'lib/email_data/source/active_record.rb', line 76

def self.tlds
  @tlds ||= Collection.new(TLD)
end