Sha256: 0a5f4e252260a0b34144f2001f158a9cdfe5575be1eca1d03352aeae8043e34e
Contents?: true
Size: 506 Bytes
Versions: 1
Compression:
Stored size: 506 Bytes
Contents
module Slack module RealTime module EventHandlers module UserChange # A team member's data has changed. # @see https://api.slack.com/events/user_change # @see https://github.com/dblock/slack-api-ref/blob/master/events/user_change.json def self.call(client, data) client.users[data.user.id] = Models::User.new(data.user) end end end end end Slack::RealTime::Client.events['user_change'] = Slack::RealTime::EventHandlers::UserChange
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-0.6.0 | lib/slack/real_time/event_handlers/user_change.rb |