class Sightstone::TeamStat

statistical overview of a team @attr [Fixnum] wins number of won games @attr [Fixnum] losses number of lost games @attr [Fixnum] averageFamesPlayed average played games of member @attr [String] fullId id of the team @attr [String] teamStatType queue of the stat

Attributes

averageGamesPlayed[RW]
fullId[RW]
losses[RW]
teamStatType[RW]
wins[RW]

Public Class Methods

new(data) click to toggle source
# File lib/sightstone/team.rb, line 81
def initialize(data)
  @wins = data['wins']
  @losses = data['losses']
  @averageGamesPlayed = data['averageGamesPlayed']
  @fullId = data['fullId']
  @teamStatType = data['teamStatType']

end