Class: Slack::RealTime::Stores::Starter

Inherits:
Base
  • Object
show all
Defined in:
lib/slack/real_time/stores/starter.rb

Overview

Only stores initial information.

Instance Attribute Summary collapse

Attributes inherited from Base

#bots, #channels, #groups, #ims, #teams, #users

Instance Method Summary collapse

Methods inherited from Base

on

Constructor Details

#initialize(attrs) ⇒ Starter

Returns a new instance of Starter.



11
12
13
14
# File 'lib/slack/real_time/stores/starter.rb', line 11

def initialize(attrs)
  @team = Models::Team.new(attrs.team)
  @self = Models::Team.new(attrs.self)
end

Instance Attribute Details

#selfObject (readonly)

Returns the value of attribute self.



7
8
9
# File 'lib/slack/real_time/stores/starter.rb', line 7

def self
  @self
end

#teamObject (readonly)

Returns the value of attribute team.



9
10
11
# File 'lib/slack/real_time/stores/starter.rb', line 9

def team
  @team
end