Skip to content

moririnson/slack-ruby-gem

 
 

Repository files navigation

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

About

A Ruby wrapper for the Slack API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 98.5%
  • HTML 1.5%