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:



225
226
227
228
229
# File 'lib/reve/classes.rb', line 225

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.



224
225
226
# File 'lib/reve/classes.rb', line 224

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



224
225
226
# File 'lib/reve/classes.rb', line 224

def name
  @name
end