Project

breacan

0.01
Low commit activity in last 3 years
A long-lived project that still receives updates
Simple Ruby wrapper for Slack API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

 Project Readme

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