Class: Game
- Inherits:
-
Object
- Object
- Game
- Defined in:
- lib/sightstone/team.rb,
lib/sightstone/match_history.rb
Instance Attribute Summary (collapse)
-
- (Object) assists
Returns the value of attribute assists.
-
- (Object) championId
Returns the value of attribute championId.
-
- (Object) createDate
Returns the value of attribute createDate.
-
- (Object) createDateString
Returns the value of attribute createDateString.
-
- (Object) date
Returns the value of attribute date.
-
- (Object) deaths
Returns the value of attribute deaths.
-
- (Object) fellowPlayers
Returns the value of attribute fellowPlayers.
-
- (Object) gameId
Returns the value of attribute gameId.
-
- (Object) gameMode
Returns the value of attribute gameMode.
-
- (Object) gameType
Returns the value of attribute gameType.
-
- (Object) invalid
Returns the value of attribute invalid.
-
- (Object) kills
Returns the value of attribute kills.
-
- (Object) level
Returns the value of attribute level.
-
- (Object) mapId
Returns the value of attribute mapId.
-
- (Object) opposingTeamKills
Returns the value of attribute opposingTeamKills.
-
- (Object) opposingTeamName
Returns the value of attribute opposingTeamName.
-
- (Object) spell1
Returns the value of attribute spell1.
-
- (Object) spell2
Returns the value of attribute spell2.
-
- (Object) statistics
Returns the value of attribute statistics.
-
- (Object) subType
Returns the value of attribute subType.
-
- (Object) teamId
Returns the value of attribute teamId.
-
- (Object) win
Returns the value of attribute win.
Instance Method Summary (collapse)
-
- (Game) initialize(data)
constructor
A new instance of Game.
Constructor Details
- (Game) initialize(data)
Returns a new instance of Game
64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/sightstone/team.rb', line 64 def initialize(data) @gameMode = data['gameMode'] @mapId = data['mapId'] @assists = data['assists'] @opposingTeamName = data['opposingTeamName'] @invalid = data['invalid'] @deaths = data['deaths'] @gameId = data['gameId'] @kills = data['kills'] @win = data['win'] @date = data['date'] @opposingTeamKills = data['opposingTeamKills'] end |
Instance Attribute Details
- (Object) assists
Returns the value of attribute assists
63 64 65 |
# File 'lib/sightstone/team.rb', line 63 def assists @assists end |
- (Object) championId
Returns the value of attribute championId
16 17 18 |
# File 'lib/sightstone/match_history.rb', line 16 def championId @championId end |
- (Object) createDate
Returns the value of attribute createDate
16 17 18 |
# File 'lib/sightstone/match_history.rb', line 16 def createDate @createDate end |
- (Object) createDateString
Returns the value of attribute createDateString
16 17 18 |
# File 'lib/sightstone/match_history.rb', line 16 def createDateString @createDateString end |
- (Object) date
Returns the value of attribute date
63 64 65 |
# File 'lib/sightstone/team.rb', line 63 def date @date end |
- (Object) deaths
Returns the value of attribute deaths
63 64 65 |
# File 'lib/sightstone/team.rb', line 63 def deaths @deaths end |
- (Object) fellowPlayers
Returns the value of attribute fellowPlayers
16 17 18 |
# File 'lib/sightstone/match_history.rb', line 16 def fellowPlayers @fellowPlayers end |
- (Object) gameId
Returns the value of attribute gameId
63 64 65 |
# File 'lib/sightstone/team.rb', line 63 def gameId @gameId end |
- (Object) gameMode
Returns the value of attribute gameMode
63 64 65 |
# File 'lib/sightstone/team.rb', line 63 def gameMode @gameMode end |
- (Object) gameType
Returns the value of attribute gameType
16 17 18 |
# File 'lib/sightstone/match_history.rb', line 16 def gameType @gameType end |
- (Object) invalid
Returns the value of attribute invalid
63 64 65 |
# File 'lib/sightstone/team.rb', line 63 def invalid @invalid end |
- (Object) kills
Returns the value of attribute kills
63 64 65 |
# File 'lib/sightstone/team.rb', line 63 def kills @kills end |
- (Object) level
Returns the value of attribute level
16 17 18 |
# File 'lib/sightstone/match_history.rb', line 16 def level @level end |
- (Object) mapId
Returns the value of attribute mapId
63 64 65 |
# File 'lib/sightstone/team.rb', line 63 def mapId @mapId end |
- (Object) opposingTeamKills
Returns the value of attribute opposingTeamKills
63 64 65 |
# File 'lib/sightstone/team.rb', line 63 def opposingTeamKills @opposingTeamKills end |
- (Object) opposingTeamName
Returns the value of attribute opposingTeamName
63 64 65 |
# File 'lib/sightstone/team.rb', line 63 def opposingTeamName @opposingTeamName end |
- (Object) spell1
Returns the value of attribute spell1
16 17 18 |
# File 'lib/sightstone/match_history.rb', line 16 def spell1 @spell1 end |
- (Object) spell2
Returns the value of attribute spell2
16 17 18 |
# File 'lib/sightstone/match_history.rb', line 16 def spell2 @spell2 end |
- (Object) statistics
Returns the value of attribute statistics
16 17 18 |
# File 'lib/sightstone/match_history.rb', line 16 def statistics @statistics end |
- (Object) subType
Returns the value of attribute subType
16 17 18 |
# File 'lib/sightstone/match_history.rb', line 16 def subType @subType end |
- (Object) teamId
Returns the value of attribute teamId
16 17 18 |
# File 'lib/sightstone/match_history.rb', line 16 def teamId @teamId end |
- (Object) win
Returns the value of attribute win
63 64 65 |
# File 'lib/sightstone/team.rb', line 63 def win @win end |