Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.34 KB

README.md

File metadata and controls

52 lines (32 loc) · 1.34 KB

Slack

Gem Version Build Status Coverage Status

A Ruby wrapper for the Slack API

Installation

Add this line to your application's Gemfile:

gem 'slack-api'

And then execute:

$ bundle

Or install it yourself as:

$ gem install slack-api

Documentation

http://www.rubydoc.info/gems/slack-api

Usage

require "slack"

Slack.configure do |config|
  config.token = "YOUR_TOKEN"
end

Slack.auth_test

Examples

https://github.com/aki017/slack-ruby-gem/tree/dev/examples

RTM

Slack Bot Real Time Messaging API Integration in Ruby Tutorial thanks @dblock

Contributing

  1. Fork it ( http://github.com/aki017/slack-ruby-gem/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request