Sha256: 9a5204b7d5d79a4d6cbff32fee83bf2fa4f6a9a5dff063b3855aeace33bc913f
Contents?: true
Size: 686 Bytes
Versions: 3
Compression:
Stored size: 686 Bytes
Contents
class Bnet::Starcraft2::Career < Bnet::BnetResource attr_accessor :primary_race, :terran_wins, :protoss_wins, :zerg_wins, :highest_1v1_rank, :highest_team_rank, :season_total_games, :career_total_games PARAMS_MAPPING = { 'primaryRace' => :primary_race, 'terranWins' => :terran_wins, 'protosswins' => :protoss_wins, 'zergWins' => :zerg_wins, 'highest1v1Rank' => :highest_1v1_rank, 'highestTeamRank' => :highest_team_rank, "seasonTotalGames" => :season_total_games, "careerTotalGames" => :career_total_games } def self.from_api(raw_response) career = super(raw_response) return career end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bnet-0.0.10 | lib/bnet/starcraft2/career.rb |
bnet-0.0.5 | lib/bnet/starcraft2/career.rb |
bnet-0.0.4 | lib/bnet/starcraft2/career.rb |