Sha256: ac7034547d7910a860894771d1d0f436c4e68d404461b32b6da19a677aa16aad
Contents?: true
Size: 492 Bytes
Versions: 1
Compression:
Stored size: 492 Bytes
Contents
module Slack module RealTime module EventHandlers module TeamJoin # A new team member has joined. # @see https://api.slack.com/events/team_join # @see https://github.com/dblock/slack-api-ref/blob/master/events/team_join.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['team_join'] = Slack::RealTime::EventHandlers::TeamJoin
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_join.rb |