Class: Copiagenda
Copiagenda is a service that allows you to mantain an online copy of your mobile contacts. You can get more information and download the gem in open.movilforum.com/apicopiagenda
To install the gem you must do.
gem install copiagenda4omf
To get the latest documentation visit copiagenda4omf.rubyforge.org/
Code example
To use the gem in your project you need to require the gem in your controller.
require 'copiagenda'
After that you can initialize with your mobile phone and your service password (open.movilforum.com/wiki/index.php/770) to retrieve your last copy.
ca = Copiagenda.new('phone', 'service password')
ca.RetrieveContacts
new (login, password)
Initialize Copiagenda with the mobile (as login) and password service
RetrieveContacts ()
Return an Array with the contacts of the last copy of your copiagenda
get_contacts ()
Alias for RetrieveContacts