Class: Lol::PlayerStatistic

Inherits:
Model
  • Object
show all
Defined in:
lib/lol/player_statistic.rb

Instance Attribute Summary collapse

Attributes inherited from Model

#raw

Method Summary

Methods inherited from Model

#initialize, #inspect

Constructor Details

This class inherits a constructor from Lol::Model

Instance Attribute Details

#aggregated_statsArray

Returns List of aggregated statistics.

Returns:

  • (Array)

    List of aggregated statistics



7
8
9
# File 'lib/lol/player_statistic.rb', line 7

def aggregated_stats
  @aggregated_stats
end

#lossesFixnum

Returns Number of losses for this queue type. It’s presed only for ranked queue types.

Returns:

  • (Fixnum)

    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_dateTime

Returns Date stat was last modified.

Returns:

  • (Time)

    Date stat was last modified



15
16
17
# File 'lib/lol/player_statistic.rb', line 15

def modify_date
  @modify_date
end

#modify_date_strString

Returns Human readable string representing date stat was last modified.

Returns:

  • (String)

    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_typeString

Returns Summary Type. Legal values: AramUnranked5x5, CoopVsAI, OdinUnranked, RankedPremade3x3, RankedPremade5x5, RankedSolo5x5, RankedTeam3x3, RankedTeam5x5, Unranked, Unranked3x3.

Returns:

  • (String)

    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

#winsFixnum

Returns Number of wins for this queue type.

Returns:

  • (Fixnum)

    Number of wins for this queue type



27
28
29
# File 'lib/lol/player_statistic.rb', line 27

def wins
  @wins
end