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


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

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


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

def self
  @self
end

#teamObject (readonly)

Returns the value of attribute team


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

def team
  @team
end