Sha256: 6e63cef8265c59b6798127b86b4320207a831ad4e98b09cec5bae7f87cfdc9d9
Contents?: true
Size: 192 Bytes
Versions: 4
Compression:
Stored size: 192 Bytes
Contents
require "slack" require "yaml" token = ENV["TOKEN"] || (print "Token: "; gets.strip) client = Slack::Client.new token: token rtm = client.realtime rtm.on :message do |m| p m end rtm.start
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
slack-api-1.6.1 | examples/rtm.rb |
slack-api-1.6.0 | examples/rtm.rb |
slack-api-1.5.0 | examples/rtm.rb |
slack-api-1.4.0 | examples/rtm.rb |