Class: Reve::Classes::FactionWarVictoryPoints

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(elem) ⇒ FactionWarVictoryPoints

:nodoc:



238
239
240
# File 'lib/reve/classes.rb', line 238

def initialize(elem) #:nodoc:
  @victory_points = elem['victoryPoints'].to_i
end

Instance Attribute Details

#victory_pointsObject (readonly)

Returns the value of attribute victory_points



237
238
239
# File 'lib/reve/classes.rb', line 237

def victory_points
  @victory_points
end