Class: Reve::Classes::FactionWarTopStats
Overview
Faction War Top Stats. This is different than the rest of the classes. Each attribute on this class is a Hash with the following keys:
-
yesterday_kills ( Array )
-
yesterday_victory_points ( Array )
-
last_week_kills ( Array )
-
last_week_victory_points ( Array )
-
total_kills ( Array )
-
total_victory_points ( Array )
The value of each key is an Array whose class is specified below (under ‘Attributes’ list) for each Attribute. Attributes:
-
characters ( Hash ) - CharacterFactionVictoryPoints, CharacterFactionKills
-
corporations ( Hash ) - CorporationFactionVictoryPoints, CorporationFactionKills
-
factions ( Hash ) - FactionVictoryPoints, FactionWarKills
Access: Reve::API#faction_war_top_stats.characters => array of CharacterFactionKills objects.
Instance Attribute Summary collapse
-
#characters ⇒ Object
readonly
Returns the value of attribute characters.
-
#corporations ⇒ Object
readonly
Returns the value of attribute corporations.
-
#factions ⇒ Object
readonly
Returns the value of attribute factions.
Instance Method Summary collapse
-
#initialize(characters, corporations, factions) ⇒ FactionWarTopStats
constructor
:nodoc:.
Constructor Details
#initialize(characters, corporations, factions) ⇒ FactionWarTopStats
:nodoc:
283 284 285 286 287 |
# File 'lib/reve/classes.rb', line 283 def initialize(characters, corporations, factions) #:nodoc: @characters = characters @corporations = corporations @factions = factions end |
Instance Attribute Details
#characters ⇒ Object (readonly)
Returns the value of attribute characters.
282 283 284 |
# File 'lib/reve/classes.rb', line 282 def characters @characters end |
#corporations ⇒ Object (readonly)
Returns the value of attribute corporations.
282 283 284 |
# File 'lib/reve/classes.rb', line 282 def corporations @corporations end |
#factions ⇒ Object (readonly)
Returns the value of attribute factions.
282 283 284 |
# File 'lib/reve/classes.rb', line 282 def factions @factions end |