Skip to content

Commit

Permalink
Documentation for using the Lighthouse console
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Palmer committed Sep 25, 2008
1 parent 2e47e00 commit 63a261b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.markdown
Expand Up @@ -9,3 +9,19 @@ The official Ruby library for interacting with the [Lighthouse REST API](http://

Check out lib/lighthouse.rb for examples and documentation.


### Using The Lighthouse Console

The Lighthouse library comes with a convenient console for testing and quick commands
(or whatever else you want to use it for).

From /lib:

irb -r lighthouse/console
Lighthouse.account = "activereload"

#### You can use `authenticate` OR `token`
Lighthouse.authenticate('username', 'password')
#Lighthouse.token = 'YOUR_TOKEN'

Project.find(:all)

0 comments on commit 63a261b

Please sign in to comment.