class Slack::RealTime::Stores::Base

Doesn't store anything.

Attributes

events[RW]
bots[RW]
channels[RW]
groups[RW]
ims[RW]
teams[RW]
users[RW]

Public Class Methods

new(_attrs) click to toggle source
# File lib/slack/real_time/stores/base.rb, line 26
def initialize(_attrs); end
on(event, &block) click to toggle source
# File lib/slack/real_time/stores/base.rb, line 28
def self.on(event, &block)
  self.events ||= {}
  self.events[event.to_s] ||= []
  self.events[event.to_s] << block
end

Public Instance Methods

self() click to toggle source
# File lib/slack/real_time/stores/base.rb, line 18
def self
  nil
end
team() click to toggle source
# File lib/slack/real_time/stores/base.rb, line 22
def team
  nil
end