lita-idobata
lita-idobata is an adapter for Lita that allows you to use the robot with Idobata.
- v0.2.x for lita >= 4.0 and new idobata
- v0.1.x for lita >= 4.0
- v0.0.x for ltia >= 2.5
Installation
Add this line to your application's Gemfile:
gem 'lita-idobata'
And then execute:
$ bundle
Or install it yourself as:
$ gem install lita-idobata
Usage
# Gemfile of your lita
source "https://rubygems.org"
gem 'lita', '~> 4.2.0'
gem "lita-idobata"
gem "pusher-client"
...
# lita_config.rb
Lita.configure do |config|
config.robot.name = "your-bot-name"
config.robot.adapter = :idobata
config.adapters.idobata.api_token = '123456abcd***'
...
end
example (for heroku): https://github.com/fukayatsu/kamabata-fkbot
Contributing
- Fork it ( http://github.com/fukayatsu/lita-idobata/fork )
- 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