Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add oauth example to connect using SSL-enabled accounts
  • Loading branch information
anibalcucco committed Sep 3, 2012
1 parent b2d1fd6 commit 13a53a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.rdoc
Expand Up @@ -42,7 +42,7 @@ requires your Basecamp site address and your login credentials or API token.
=== Using API token (My Info -> Show your tokens)

Basecamp.establish_connection!('yoururl.basecamphq.com', 'APITOKEN', 'X')

=== Using OAuth access token

Basecamp.establish_oauth_connection!('yoururl.basecamphq.com', 'oauth_access_token')
Expand All @@ -51,6 +51,8 @@ requires your Basecamp site address and your login credentials or API token.

Basecamp.establish_connection!('yoururl.basecamphq.com', 'APITOKEN', 'X', true)

Basecamp.establish_oauth_connection!('yoururl.basecamphq.com', 'oauth_access_token', true)

This is the same whether you're accessing using the ActiveResource interface,
or the legacy interface.

Expand Down

0 comments on commit 13a53a0

Please sign in to comment.