Module: Slack::RealTime::EventHandlers::TeamDomainChange

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

Class Method Summary collapse

Class Method Details

.call(client, data) ⇒ Object

The team domain has changed.


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

def self.call(client, data)
  client.team.url = data.url
  client.team.domain = data.domain
end