Sha256: c148f5bb0edec9f0396967f32be93096f97df534880eea406c24e349ae0bf901
Contents?: true
Size: 774 Bytes
Versions: 12
Compression:
Stored size: 774 Bytes
Contents
module Lol # Holds the representation of a League class League < Model # @!attribute [r] name # @return [String] name of league attr_reader :name # @!attribute [r] tier # @return [String] tier of league attr_reader :tier # @!attribute [r] queue # @return [String] type of queue attr_reader :queue # @!attribute [r] entries # @return [String] summoners / teams in queue attr_reader :entries # @!attribute [r] participant_id # @return [String] summoner id of league participant attr_reader :participant_id private attr_writer :timestamp, :name, :tier, :queue, :participant_id def entries= list @entries = [] list.each {|entry| @entries << LeagueEntry.new(entry)} end end end
Version data entries
12 entries across 12 versions & 1 rubygems