Rails email contacts importer?

Is there Ruby on Rails based code to import contacts from gmail,
yahoo, hotmail, etc.? I've seen this on many sites and have found php-
based code but nothing yet for Ruby.