Class: Reve::Classes::CharacterFactionKills
- Inherits:
-
FactionWarKills
- Object
- FactionWarKills
- Reve::Classes::CharacterFactionKills
- Defined in:
- lib/reve/classes.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from FactionWarKills
Instance Method Summary collapse
-
#initialize(elem) ⇒ CharacterFactionKills
constructor
:nodoc:.
Constructor Details
#initialize(elem) ⇒ CharacterFactionKills
:nodoc:
194 195 196 197 198 |
# File 'lib/reve/classes.rb', line 194 def initialize(elem) #:nodoc: super(elem) @name = elem['characterName'] @id = elem['characterID'].to_i end |