Just a tiny simple gem which lets you speak on Campfire. No runtime dependencies!
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install blaze
require 'blaze' Blaze.configure do |config| config.account = "your-subdomain" config.room_id = 12345 config.token = "abcd" config.ssl = true end
Blaze.speak "hello there!"
Coming up in v1.0
A way to allow you to spam more rooms in one Ruby process.
This would probably look something like:
client = Blaze::Client.new do |client| client.account = "your-subdomain" client.room_id = 12345 client.token = "abcd" client.ssl = true end client.speak "Hello"
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request