Sha256: 2566a02085ce2ab62446d2a8221af2949162c4b36eda3b6dc8979d2bf6d8f358
Contents?: true
Size: 1.07 KB
Versions: 4
Compression:
Stored size: 1.07 KB
Contents
require 'lol/model' module Lol class TeamStatistic < Lol::Model # @!attribute [r] average_games_played # @return [Fixnum] Average games played attr_reader :average_games_played # @!attribute [r] losses # @return [Fixnum] Number of losses attr_reader :losses # @!attribute [r] max_rating # @return [Fixnum] Max Rating attr_reader :max_rating # @!attribute [r] rating # @return [Fixnum] Rating attr_reader :rating # @!attribute [r] seed_rating # @return [Fixnum] Seed Rating attr_reader :seed_rating # @!attribute [r] team_id # @return [Fixnum] Team Id attr_reader :team_id # @!attribute [r] team_stat_type # @return [String] Team Statistic Type name attr_reader :team_stat_type # @!attribute [r] wins # @return [Fixnum] Number of wins attr_reader :wins private attr_writer :average_games_played, :losses, :max_rating, :rating, :seed_rating, :team_stat_type, :wins def team_id= value @team_id = value.is_a?(Hash) && value['fullId'] || value end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ruby-lol-0.9.3 | lib/lol/team_statistic.rb |
ruby-lol-0.9.1 | lib/lol/team_statistic.rb |
ruby-lol-0.0.7 | lib/lol/team_statistic.rb |
ruby-lol-0.0.6 | lib/lol/team_statistic.rb |