slack-ruby-gem icon indicating copy to clipboard operation
slack-ruby-gem copied to clipboard

A Ruby wrapper for the Slack API

Results 11 slack-ruby-gem issues
Sort by recently updated
recently updated
newest added

Tests still pass. Required to address this vulnerability: https://github.com/advisories/GHSA-2v5c-755p-p4gv

This is required in the case that we need to look at the response headers. The most common use case would be to look at the X-OAuth-Scopes.

## The reason why I create this PR Recently, updates https://github.com/aki017/slack-api-docs/commit/1ac07b4a9902bb1386d46ddaf484e754c6290429 by `aki017/slack-api-docs-generator`. But [aki017/slack-ruby-gem](https://github.com/aki017/slack-ruby-gem) does not follow the latest [aki017/slack-api-docs](https://github.com/aki017/slack-api-docs/). So if you execute `rake api:update`, creates too many...

This link looks more helpful for beginners. What about this?

I thought it is more easier if pp written on Usage for checking the status when I paste example from usage.

$ gem install slack $ irb >> require 'slack' => true >> Slack::Client NameError: uninitialized constant Slack::Client >> Slack.configure {|c| c.token = 'banana' } NoMethodError: undefined method `configure' for Slack:Module

Addressing the https://snyk.io/vuln/SNYK-RUBY-FARADAYMIDDLEWARE-20334 vulnerability.

This feature enable both following: https://github.com/aki017/slack-ruby-gem/blob/dev/examples/rtm.rb#L7-L11 ```ruby rtm = client.realtime rtm.on :message do |m| p m end rtm.start ``` and ```ruby client.realtime.on :message do |m| p m end client.realtime.start ```

We wanted to use this gem in an asynchronous manner. Here is the hack we made: https://gist.github.com/ioquatix/c24f107e2cc7f48e571a37e8e93b0cda?ts=2 Are you interested in a PR?