Sha256: de9266cc3eac521462308ed82a4728a21879d7ec12f2f2b4282c3239ac32b029
Contents?: true
Size: 492 Bytes
Versions: 1
Compression:
Stored size: 492 Bytes
Contents
module Slack module RealTime module EventHandlers module PrefChange # You have updated your preferences. # @see https://api.slack.com/events/pref_change # @see https://github.com/dblock/slack-api-ref/blob/master/events/pref_change.json def self.call(client, data) client.self.prefs[data.name] = data.value end end end end end Slack::RealTime::Client.events['pref_change'] = Slack::RealTime::EventHandlers::PrefChange
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-0.6.0 | lib/slack/real_time/event_handlers/pref_change.rb |