Registry / messaging / slack-ruby-client

slack-ruby-client

JSON →
library3.1.0rbrubygemsunverified

Slack Web and RealTime API client for Ruby.

gem install slack-ruby-client
INSTALL
IMPORT
SIG · SLACK-RUBY-CLIENT
S
slack-ruby-client
messagingrubyv3.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Slack
require 'slack-ruby-client'

Post a message to a Slack channel.

require 'slack-ruby-client' Slack.configure do |config| config.token = ENV['SLACK_API_TOKEN'] end client = Slack::Web::Client.new client.chat_postMessage(channel: '#general', text: 'Hello, world!')
Debug
Known issues
gotchaRealTime API requires eventmachine and faye-websocket.
fix
Add 'eventmachine' and 'faye-websocket' to your Gemfile if using RealTime.
affects: >= 0.10.0
Upgrade
Version history
3.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
32
OpenAI (training)
1
Resources
slack-ruby-client — gem install slack-ruby-client · libregistry