Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (30 sloc) 1.03 KB

Lighthouse API

The official Ruby library for interacting with the Lighthouse REST API.

Documentation & Requirements

  • ActiveResource
  • ActiveSupport

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:

# For ruby 1.9
# irb -I. -r lighthouse/console.rb

irb -r lighthouse/console

Lighthouse.account = "activereload"

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



  • technoweenie (rick)
  • caged (Justin Palmer)
  • granth (Grant Hollingworth)
  • kneath (Kyle Neath)
  • djanowski (Damian Janowski)
  • drnic (Dr Nic Williams)
  • texel (Leigh Caplan)
  • trptcolin (Colin Jones)
  • cyberfox (Morgan Schweers)
  • krekoten (Крекотень Мар'ян)