Class: Starcraft2::Profile::Rewards

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Rewards

Returns a new instance of Rewards.



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

def initialize(options = {})
  Utils.load(self, options)
end

Instance Attribute Details

#earnedObject

Returns the value of attribute earned.



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

def earned
  @earned
end

#selectedObject

Returns the value of attribute selected.



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

def selected
  @selected
end