Class: Lol::PlayerStatistic
Instance Attribute Summary collapse
-
#aggregated_stats ⇒ Array
readonly
List of aggregated statistics.
-
#losses ⇒ Fixnum
readonly
Number of losses for this queue type.
-
#modify_date ⇒ Time
readonly
Date stat was last modified.
-
#modify_date_str ⇒ String
readonly
Human readable string representing date stat was last modified.
-
#player_stat_summary_type ⇒ String
readonly
Summary Type.
-
#wins ⇒ Fixnum
readonly
Number of wins for this queue type.
Attributes inherited from Model
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from Lol::Model
Instance Attribute Details
#aggregated_stats ⇒ Array
Returns List of aggregated statistics.
7 8 9 |
# File 'lib/lol/player_statistic.rb', line 7 def aggregated_stats @aggregated_stats end |
#losses ⇒ Fixnum
Returns Number of losses for this queue type. It’s presed only for ranked queue types.
11 12 13 |
# File 'lib/lol/player_statistic.rb', line 11 def losses @losses end |
#modify_date ⇒ Time
Returns Date stat was last modified.
15 16 17 |
# File 'lib/lol/player_statistic.rb', line 15 def modify_date @modify_date end |
#modify_date_str ⇒ String
Returns Human readable string representing date stat was last modified.
19 20 21 |
# File 'lib/lol/player_statistic.rb', line 19 def modify_date_str @modify_date_str end |
#player_stat_summary_type ⇒ String
Returns Summary Type. Legal values: AramUnranked5x5, CoopVsAI, OdinUnranked, RankedPremade3x3, RankedPremade5x5, RankedSolo5x5, RankedTeam3x3, RankedTeam5x5, Unranked, Unranked3x3.
23 24 25 |
# File 'lib/lol/player_statistic.rb', line 23 def player_stat_summary_type @player_stat_summary_type end |
#wins ⇒ Fixnum
Returns Number of wins for this queue type.
27 28 29 |
# File 'lib/lol/player_statistic.rb', line 27 def wins @wins end |