Class: PossibleEmail::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/possible_email/cli.rb

Instance Method Summary collapse

Instance Method Details

#find_profile(*emails) ⇒ Object



28
29
30
31
# File 'lib/possible_email/cli.rb', line 28

def find_profile(*emails)
  profiles = PossibleEmail.find_profile(emails)
  puts profiles
end

#search(first_name, last_name, *domain) ⇒ Object



16
17
18
19
# File 'lib/possible_email/cli.rb', line 16

def search(first_name, last_name, *domain)
  profiles = PossibleEmail.search(first_name, last_name, domain)
  puts profiles
end