Sha256: b4ffe07da712a501b8d36852d49f8b316954bc250c5a5e2d1e90ac85f9234278
Contents?: true
Size: 668 Bytes
Versions: 6
Compression:
Stored size: 668 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, :tlds, :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
6 entries across 6 versions & 1 rubygems