Sha256: 1732ff73631b62262b9eebea5cf677759a9afd0ec0a849f73e5042d1702f58f7
Contents?: true
Size: 1.15 KB
Versions: 1
Compression:
Stored size: 1.15 KB
Contents
# Blaze [![Build Status](https://secure.travis-ci.org/iain/blaze.png?branch=master)](http://travis-ci.org/iain/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: ``` ruby require 'blaze' Blaze.configure do |config| config.account = "your-subdomain" config.room_id = 12345 config.token = "abcd" config.ssl = true end ``` And speak: ``` ruby 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: ``` ruby 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 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Added some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blaze-0.0.1 | README.md |