broach icon indicating copy to clipboard operation
broach copied to clipboard

Ruby implementation of 37signals' Campfire API.

Broach

Broach is an implementation of the Campfire API. It was written to do incidental notifications from an application. For instance a Subversion post-commit hook or a deploy script.

You can find more information about the API on the Campfire developer site.

Say something real quick

The fastest way to say something in a Campfire room is to set the authentication credentials and use the speak class method.


Broach.settings = {
  'account' => 'myaccount',
  'token'   => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
  'use_ssl' => true
}
Broach.speak('Office', 'Manfred just deployed a new version of the weblog (http://www.fngtps.com)')

Install

The easiest way to install Broach and its dependencies is to install the gem.

$ gem install broach

Contributors