rspec for player stat summary

This commit is contained in:
danijoo
2014-03-24 16:46:22 +01:00
parent 64b301543b
commit 47bc7b90a8
2 changed files with 55 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
module Sightstone
# summary of player statistic
# @attr [Fixnum] summonerId ID of the summoner
# @attr [Array<PlayerStatSummary] array of stat summaries for player with given id
# @attr [Array<PlayerStatSummary] playerStatSummaries array of stat summaries for player with given id
class PlayerStatsSummaryList
attr_accessor :summonerId, :playerStatSummaries
@@ -17,7 +17,7 @@ end
# stat sumary for a queue
# @attr [Fixnum] wins number of won game
# @attr [Fixnum] losses number of lost games
# @attr [Fixnum] losses number of lost games, can be nil!
# @attr [Fixnum] modifyDate date of modification as unix date
# @attr [String] playerStatSummaryType type of the stat (can be: AramUnranked5x5, CoopVsAI, OdinUnranked, RankedPremade3x3, RankedPremade5x5, RankedSolo5x5, RankedTeam3x3, RankedTeam5x5, Unranked, Unranked3x3, OneForAll5x5, FirstBlood1x1, FirstBlood2x2)
# @attr [Hash<String, Fixnum>] aggregatedStats a hash of all stats (key) and their values.