Module: Slack::RealTime::EventHandlers::TeamJoin

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

Class Method Summary collapse

Class Method Details

.call(client, data) ⇒ Object

A new team member has joined.


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

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