Sha256: 92b9be764f6d9ac64bae9e4bbc6342bc37575ba6e6c032f284b90e0105532d07
Contents?: true
Size: 487 Bytes
Versions: 1
Compression:
Stored size: 487 Bytes
Contents
module Slack module RealTime module EventHandlers module GroupClose # You closed a group channel. # @see https://api.slack.com/events/group_close # @see https://github.com/dblock/slack-api-ref/blob/master/events/group_close.json def self.call(client, data) client.groups[data.channel].is_open = false end end end end end Slack::RealTime::Client.events['group_close'] = Slack::RealTime::EventHandlers::GroupClose
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-0.6.0 | lib/slack/real_time/event_handlers/group_close.rb |