Sha256: e2e9023a5da8a3c35c7892ddb4ec855f78198fdd718e4d60f8e134df088da34b
Contents?: true
Size: 684 Bytes
Versions: 4
Compression:
Stored size: 684 Bytes
Contents
# frozen_string_literal: true module Slack module RealTime module Stores # Doesn't store anything. class Base class << self attr_accessor :events end attr_accessor :users attr_accessor :bots attr_accessor :channels attr_accessor :groups attr_accessor :teams attr_accessor :ims def self nil end def team nil end def initialize(_attrs); end def self.on(event, &block) self.events ||= {} self.events[event.to_s] ||= [] self.events[event.to_s] << block end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems