Class: Starcraft2::Profile::Campaign

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Campaign

Returns a new instance of Campaign.



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

def initialize(options)
  Utils.load(self, options)
end

Instance Attribute Details

#hotsObject

Returns the value of attribute hots.



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

def hots
  @hots
end

#wolObject

Returns the value of attribute wol.



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

def wol
  @wol
end