diff --git a/README.rdoc b/README.rdoc index 46392ca..6abae06 100644 --- a/README.rdoc +++ b/README.rdoc @@ -1,4 +1,3 @@ - teambox-ruby is a Ruby wrapper for Teambox ( http://www.teambox.com ) API. * Wraps the API in a client object with resources @@ -15,12 +14,12 @@ First, install the teambox-client gem: Now, run "irb -rubygems" and this snippet to get the list of activities: require 'teambox-client' - client = Teambox::Client.new(:auth => {:username => 'frank', :password => 'papapa'}) + client = Teambox::Client.new(:auth => {:user => 'frank', :password => 'papapa'}) puts client.activities By default, teambox-client will connect to the hosted service at https://teambox.com/api/1; optionally you can: - client = Teambox::Client.new(:base_uri => 'http://teambox.mysite.com/api/1', :auth => {:username => 'frank', :password => 'papapa'}) + client = Teambox::Client.new(:base_uri => 'http://teambox.mysite.com/api/1', :auth => {:user => 'frank', :password => 'papapa'}) == Examples