Module: Slack::RealTime::EventHandlers::UserChange

Defined in:
lib/slack/real_time/event_handlers/user_change.rb

Class Method Summary collapse

Class Method Details

.call(client, data) ⇒ Object

A team member's data has changed.


8
9
10
# File 'lib/slack/real_time/event_handlers/user_change.rb', line 8

def self.call(client, data)
  client.users[data.user.id] = Models::User.new(data.user)
end