Sha256: 132719c29331643f29a9bb5d5c45398c084e905061b95a0e3f40a737466df956
Contents?: true
Size: 730 Bytes
Versions: 16
Compression:
Stored size: 730 Bytes
Contents
# frozen_string_literal: true require "forwardable" require "pathname" module EmailData require "email_data/version" require "email_data/source/file_system" class << self extend Forwardable def_delegators :source, :disposable_domains, :disposable_emails, :country_tlds, :free_email_domains, :private_relays, :tlds, :slds, :roles end def self.source=(source) @source = source end def self.source @source end def self.data_dir Pathname.new(File.expand_path("../data", __dir__)) end self.source = EmailData::Source::FileSystem end
Version data entries
16 entries across 16 versions & 1 rubygems