Library that will allow you to post messages to kato room.
No API to read room history at the moment.
Add this line to your application's Gemfile:
gem 'kato-rb'
And then execute:
$ bundle
Or install it yourself as:
$ gem install kato-rb
Go to your room integrations page, search for "HTTP POST" integration, make
sure you have switched it on, use Room ID provided at that page instead of
room_id
in instructions below:
require 'kato'
room = Kato::Room.new("room_id")
room.post("Andrei", "Hello **world**", {:color => "green", :renderer => "markdown"})
- 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