cirandas.net

ref: master

vendor/contacts/examples/grab_contacts.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
require_relative '../lib/contacts'

login = ARGV[0]
password = ARGV[1]

Contacts::Gmail.new(login, password).contacts

Contacts.new(:gmail, login, password).contacts

Contacts.new("gmail", login, password).contacts

Contacts.guess(login, password).contacts