Skip to content
This repository was archived by the owner on Jan 30, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand Down