A Ruby wrapper for the Slack API
Add this line to your application's Gemfile:
gem 'slack-api'
And then execute:
$ bundle
Or install it yourself as:
$ gem install slack-api
http://www.rubydoc.info/gems/slack-api
require "slack"
Slack.configure do |config|
config.token = "YOUR_TOKEN"
end
Slack.auth_test
https://github.com/aki017/slack-ruby-gem/tree/dev/examples
- Fork it ( http://github.com/aki017/slack-ruby-gem/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