Blaze
Just a tiny simple gem which lets you speak on Campfire. No runtime dependencies!
Installation
Add this line to your application's Gemfile:
gem 'blaze'
And then execute:
$ bundle
Or install it yourself as:
$ gem install blaze
Usage
Configure blaze:
require 'blaze'
Blaze.configure do |config|
config.account = "your-subdomain"
config.room_id = 12345
config.token = "abcd"
config.ssl = true
end
And speak:
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"
Contributing
- 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