Ruby lib for working with the Lighthouse API‘s XML interface. The first thing you need to set is the account name. This is the same as the web address for your account.
Lighthouse.account = 'activereload'
Then, you should set the authentication. You can either use your login credentials with HTTP Basic Authentication or with an API Tokens. You can find more info on tokens at lighthouseapp.com/help/using-beacons.
# with basic authentication Lighthouse.authenticate('rick@techno-weenie.net', 'spacemonkey') # or, use a token Lighthouse.token = 'abcdefg'
If no token or authentication info is given, you‘ll only be granted public access.
This library is a small wrapper around the REST interface. You should read the docs at lighthouseapp.com/api.
account | [RW] | |
domain_format | [RW] | |
[RW] | ||
host_format | [RW] | |
password | [RW] | |
port | [RW] | |
protocol | [RW] | |
token | [R] |