Class: Starcraft2::Member

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Member

Returns a new instance of Member.



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

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

Instance Attribute Details

#characterObject

Returns the value of attribute character.



3
4
5
# File 'lib/starcraft2/member.rb', line 3

def character
  @character
end

#favorite_race_p1Object

Returns the value of attribute favorite_race_p1.



3
4
5
# File 'lib/starcraft2/member.rb', line 3

def favorite_race_p1
  @favorite_race_p1
end

#favorite_race_p2Object

Returns the value of attribute favorite_race_p2.



3
4
5
# File 'lib/starcraft2/member.rb', line 3

def favorite_race_p2
  @favorite_race_p2
end

#favorite_race_p3Object

Returns the value of attribute favorite_race_p3.



3
4
5
# File 'lib/starcraft2/member.rb', line 3

def favorite_race_p3
  @favorite_race_p3
end

#favorite_race_p4Object

Returns the value of attribute favorite_race_p4.



3
4
5
# File 'lib/starcraft2/member.rb', line 3

def favorite_race_p4
  @favorite_race_p4
end

#highest_rankObject

Returns the value of attribute highest_rank.



3
4
5
# File 'lib/starcraft2/member.rb', line 3

def highest_rank
  @highest_rank
end

#join_timestampObject

Returns the value of attribute join_timestamp.



3
4
5
# File 'lib/starcraft2/member.rb', line 3

def join_timestamp
  @join_timestamp
end

#lossesObject

Returns the value of attribute losses.



3
4
5
# File 'lib/starcraft2/member.rb', line 3

def losses
  @losses
end

#pointsObject

Returns the value of attribute points.



3
4
5
# File 'lib/starcraft2/member.rb', line 3

def points
  @points
end

#previous_rankObject

Returns the value of attribute previous_rank.



3
4
5
# File 'lib/starcraft2/member.rb', line 3

def previous_rank
  @previous_rank
end

#winsObject

Returns the value of attribute wins.



3
4
5
# File 'lib/starcraft2/member.rb', line 3

def wins
  @wins
end