Breacan: Simple Ruby wrapper for Slack API.

Installation

Add this line to your application's Gemfile:

gem 'breacan'

And then execute:

$ bundle

Or install it yourself as:

$ gem install breacan

Usage

example:

require 'breacan'
Breacan.access_token = 'xoxp-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
Breacan.channels
=> [{:id=>"C03QXXXX",
    :name=>"hello",
    :is_channel=>true,
    :created=>1424735886,
    :creator=>"U03PXXXX",
    :is_archived=>false,
    :is_general=>false,
    :is_member=>false,
    :members=> ["U0NLXXXX",...
Breacan.channel_by_name('hello').id
=> "C03QXXXX"

Contributing

  1. Fork it ( https://github.com/linyows/breacan/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 a new Pull Request

Authors