Class: Reve::Classes::CharacterFactionVictoryPoints

Inherits:
FactionWarVictoryPoints show all
Defined in:
lib/reve/classes.rb

Instance Attribute Summary collapse

Attributes inherited from FactionWarVictoryPoints

#victory_points

Instance Method Summary collapse

Constructor Details

#initialize(elem) ⇒ CharacterFactionVictoryPoints

:nodoc:



244
245
246
247
248
# File 'lib/reve/classes.rb', line 244

def initialize(elem) #:nodoc:
  super(elem)
  @name = elem['characterName']
  @id = elem['characterID'].to_i
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



243
244
245
# File 'lib/reve/classes.rb', line 243

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



243
244
245
# File 'lib/reve/classes.rb', line 243

def name
  @name
end