Class: Lol::Game
Instance Attribute Summary collapse
-
#champion_id ⇒ Object
readonly
Returns the value of attribute champion_id.
-
#create_date ⇒ Object
readonly
Returns the value of attribute create_date.
-
#create_date_str ⇒ Object
readonly
Returns the value of attribute create_date_str.
-
#fellow_players ⇒ Object
readonly
Returns the value of attribute fellow_players.
-
#game_id ⇒ Object
readonly
Returns the value of attribute game_id.
-
#game_mode ⇒ Object
readonly
Returns the value of attribute game_mode.
-
#game_type ⇒ Object
readonly
Returns the value of attribute game_type.
-
#id ⇒ Fixnum
readonly
Game Id.
-
#invalid ⇒ Object
readonly
Returns the value of attribute invalid.
-
#level ⇒ Object
readonly
Returns the value of attribute level.
-
#map_id ⇒ Object
readonly
Returns the value of attribute map_id.
-
#spell1 ⇒ Fixnum
readonly
Summoner first spell id.
-
#spell2 ⇒ Fixnum
readonly
Summoner second spell id.
-
#statistics ⇒ Object
readonly
Returns the value of attribute statistics.
-
#sub_type ⇒ Object
readonly
Returns the value of attribute sub_type.
-
#team_id ⇒ Object
readonly
Returns the value of attribute team_id.
Attributes inherited from Model
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from Lol::Model
Instance Attribute Details
#champion_id ⇒ Object
Returns the value of attribute champion_id.
11 12 13 |
# File 'lib/lol/game.rb', line 11 def champion_id @champion_id end |
#create_date ⇒ Object
Returns the value of attribute create_date.
15 16 17 |
# File 'lib/lol/game.rb', line 15 def create_date @create_date end |
#create_date_str ⇒ Object
Returns the value of attribute create_date_str.
19 20 21 |
# File 'lib/lol/game.rb', line 19 def create_date_str @create_date_str end |
#fellow_players ⇒ Object
Returns the value of attribute fellow_players.
23 24 25 |
# File 'lib/lol/game.rb', line 23 def fellow_players @fellow_players end |
#game_id ⇒ Object
Returns the value of attribute game_id.
7 8 9 |
# File 'lib/lol/game.rb', line 7 def game_id @game_id end |
#game_mode ⇒ Object
Returns the value of attribute game_mode.
27 28 29 |
# File 'lib/lol/game.rb', line 27 def game_mode @game_mode end |
#game_type ⇒ Object
Returns the value of attribute game_type.
31 32 33 |
# File 'lib/lol/game.rb', line 31 def game_type @game_type end |
#id ⇒ Fixnum (readonly)
Returns Game Id.
7 |
# File 'lib/lol/game.rb', line 7 attr_reader :game_id |
#invalid ⇒ Object
Returns the value of attribute invalid.
36 37 38 |
# File 'lib/lol/game.rb', line 36 def invalid @invalid end |
#level ⇒ Object
Returns the value of attribute level.
40 41 42 |
# File 'lib/lol/game.rb', line 40 def level @level end |
#map_id ⇒ Object
Returns the value of attribute map_id.
44 45 46 |
# File 'lib/lol/game.rb', line 44 def map_id @map_id end |
#spell1 ⇒ Fixnum
Returns Summoner first spell id.
48 49 50 |
# File 'lib/lol/game.rb', line 48 def spell1 @spell1 end |
#spell2 ⇒ Fixnum
Returns Summoner second spell id.
52 53 54 |
# File 'lib/lol/game.rb', line 52 def spell2 @spell2 end |
#statistics ⇒ Object
Returns the value of attribute statistics.
56 57 58 |
# File 'lib/lol/game.rb', line 56 def statistics @statistics end |
#sub_type ⇒ Object
Returns the value of attribute sub_type.
60 61 62 |
# File 'lib/lol/game.rb', line 60 def sub_type @sub_type end |
#team_id ⇒ Object
Returns the value of attribute team_id.
64 65 66 |
# File 'lib/lol/game.rb', line 64 def team_id @team_id end |