Class: Starcraft2::Profile::Achievements
- Inherits:
-
Object
- Object
- Starcraft2::Profile::Achievements
- Defined in:
- lib/starcraft2/profile/achievements.rb
Instance Attribute Summary collapse
-
#achievements ⇒ Object
Returns the value of attribute achievements.
-
#points ⇒ Object
Returns the value of attribute points.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Achievements
constructor
A new instance of Achievements.
Constructor Details
#initialize(options = {}) ⇒ Achievements
Returns a new instance of Achievements.
6 7 8 |
# File 'lib/starcraft2/profile/achievements.rb', line 6 def initialize( = {}) Utils.load(self, , {:points => Points}, {:achievements => AchievementItem}) end |
Instance Attribute Details
#achievements ⇒ Object
Returns the value of attribute achievements.
4 5 6 |
# File 'lib/starcraft2/profile/achievements.rb', line 4 def achievements @achievements end |
#points ⇒ Object
Returns the value of attribute points.
4 5 6 |
# File 'lib/starcraft2/profile/achievements.rb', line 4 def points @points end |