module RichEmailValidator
RichEmailValidator
top level module
Public Class Methods
export_valid_list(input_file_path, output_file_path, options = {})
click to toggle source
Validates input from file and writes to file @param input_file_path [File] @param output_file_path [File] @param [Hash] options @option options [#to_int] :threads_count number of threads that will
be fired simultaneously to calculate the result
# File lib/rich_email_validator.rb, line 42 def export_valid_list(input_file_path, output_file_path, options = {}) FileValidator.export_valid_list(input_file_path, output_file_path, options) end
filter_file(input_file_path, options = {})
click to toggle source
Validates input from file @param input_file_path [File] @param [Hash] options @option options [#to_int] :threads_count number of threads that will
be fired simultaneously to calculate the result
@return [Array]
# File lib/rich_email_validator.rb, line 32 def filter_file(input_file_path, options = {}) FileValidator.filter(input_file_path, options) end
filter_list(list, options = {})
click to toggle source
Validates list of emails @param list [Enumerator] @param [Hash] options @option options [#to_int] :threads_count number of threads that will
be fired simultaneously to calculate the result
@return [Array]
# File lib/rich_email_validator.rb, line 22 def filter_list(list, options = {}) ListValidator.filter(list, options) end
valid_email?(email)
click to toggle source
Validates an email @param email [String] @return [Boolean]
# File lib/rich_email_validator.rb, line 12 def valid_email?(email) EmailValidator.valid?(email) end