Sha256: efc5bce9f3f4d13cf81d34bb628f9f566af214e10ae8f9115b1d9d8f92d049d1
Contents?: true
Size: 471 Bytes
Versions: 1
Compression:
Stored size: 471 Bytes
Contents
module Slack module RealTime module EventHandlers module TeamRename # The team name has changed. # @see https://api.slack.com/events/team_rename # @see https://github.com/dblock/slack-api-ref/blob/master/events/team_rename.json def self.call(client, data) client.team.name = data.name end end end end end Slack::RealTime::Client.events['team_rename'] = Slack::RealTime::EventHandlers::TeamRename
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-0.6.0 | lib/slack/real_time/event_handlers/team_rename.rb |