Module Lighthouse
In: lib/lighthouse/base.rb
lib/lighthouse/bin.rb
lib/lighthouse/changeset.rb
lib/lighthouse/membership.rb
lib/lighthouse/message.rb
lib/lighthouse/milestone.rb
lib/lighthouse/project.rb
lib/lighthouse/project_membership.rb
lib/lighthouse/tag.rb
lib/lighthouse/tag_resource.rb
lib/lighthouse/ticket.rb
lib/lighthouse/token.rb
lib/lighthouse/user.rb
lib/lighthouse.rb

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.

Methods

Classes and Modules

Class Lighthouse::Base
Class Lighthouse::Bin
Class Lighthouse::Change
Class Lighthouse::Changeset
Class Lighthouse::Error
Class Lighthouse::Membership
Class Lighthouse::Message
Class Lighthouse::Milestone
Class Lighthouse::Project
Class Lighthouse::ProjectMembership
Class Lighthouse::Tag
Class Lighthouse::TagResource
Class Lighthouse::Ticket
Class Lighthouse::Token
Class Lighthouse::User

Attributes

account  [RW] 
domain_format  [RW] 
email  [RW] 
host_format  [RW] 
password  [RW] 
port  [RW] 
protocol  [RW] 
token  [R] 

Public Class methods

Sets up basic authentication credentials for all the resources.

Sets the API token for all the resources.

[Validate]