cloudsponge 0.9.6
Usage: contacts = nil importer = Cloudsponge::ContactImporter.new(DOMAIN_KEY, DOMAIN_PASSWORD) importer.begin_import('YAHOO') loop do events = importer.get_events break unless events.select{ |e| e.is_error? }.empty? unless events.select{ |e| e.is_completed? }.empty? contacts = importer.get_contacts break end end