Class: Starcraft2::Profile::Season

Inherits:
Object
  • Object
show all
Defined in:
lib/starcraft2/profile/season.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Season

Returns a new instance of Season.



6
7
8
# File 'lib/starcraft2/profile/season.rb', line 6

def initialize(options={})
  Utils.load(self, options, {}, {:stats => Stats})
end

Instance Attribute Details

#season_idObject

Returns the value of attribute season_id.



4
5
6
# File 'lib/starcraft2/profile/season.rb', line 4

def season_id
  @season_id
end

#statsObject

Returns the value of attribute stats.



4
5
6
# File 'lib/starcraft2/profile/season.rb', line 4

def stats
  @stats
end

#total_games_this_seasonObject

Returns the value of attribute total_games_this_season.



4
5
6
# File 'lib/starcraft2/profile/season.rb', line 4

def total_games_this_season
  @total_games_this_season
end