Class: Lol::Game

Inherits:
Model show all
Defined in:
lib/lol/game.rb

Instance Attribute Summary collapse

Attributes inherited from Model

#raw

Method Summary

Methods inherited from Model

#initialize, #inspect

Constructor Details

This class inherits a constructor from Lol::Model

Instance Attribute Details

#champion_idFixnum



7
8
9
# File 'lib/lol/game.rb', line 7

def champion_id
  @champion_id
end

#create_dateTime



11
12
13
# File 'lib/lol/game.rb', line 11

def create_date
  @create_date
end

#fellow_playersArray



15
16
17
# File 'lib/lol/game.rb', line 15

def fellow_players
  @fellow_players
end

#game_idFixnum



19
20
21
# File 'lib/lol/game.rb', line 19

def game_id
  @game_id
end

#game_modeString



23
24
25
# File 'lib/lol/game.rb', line 23

def game_mode
  @game_mode
end

#game_typeString



27
28
29
# File 'lib/lol/game.rb', line 27

def game_type
  @game_type
end

#idFixnum (readonly)



19
# File 'lib/lol/game.rb', line 19

attr_reader :game_id

#invalidtrue, false



32
33
34
# File 'lib/lol/game.rb', line 32

def invalid
  @invalid
end

#levelFixnum



36
37
38
# File 'lib/lol/game.rb', line 36

def level
  @level
end

#map_idFixnum



40
41
42
# File 'lib/lol/game.rb', line 40

def map_id
  @map_id
end

#spell1Fixnum



44
45
46
# File 'lib/lol/game.rb', line 44

def spell1
  @spell1
end

#spell2Fixnum



48
49
50
# File 'lib/lol/game.rb', line 48

def spell2
  @spell2
end

#statisticsArray (readonly)



52
# File 'lib/lol/game.rb', line 52

attr_reader :stats

#statsArray



52
53
54
# File 'lib/lol/game.rb', line 52

def stats
  @stats
end

#sub_typeString



56
57
58
# File 'lib/lol/game.rb', line 56

def sub_type
  @sub_type
end

#team_idFixnum



60
61
62
# File 'lib/lol/game.rb', line 60

def team_id
  @team_id
end