Ruby API wrapper for Choir.io. Fetch stream and post events.
Add this line to your application's Gemfile:
gem 'choir'
And then execute:
$ bundle
Or install it yourself as:
$ gem install choir
require 'choir'
choir = Choir::API.new
choir.get_stream(<your stream id>)
choir.post_event(<your source key>, { sound: "g/1", label: "hello", text: "hello choir" })
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request