Sha256: ec6ce78371b53b3d25a0cdb3c190bd75763028f91d7be6d48ebe0db3a99e1dd0
Contents?: true
Size: 752 Bytes
Versions: 3
Compression:
Stored size: 752 Bytes
Contents
module Lol # Holds the representation of a League class League < Model # @!attribute [r] timestamp # @return [String] timestamp of league snapshot attr_reader :timestamp # @!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 private attr_writer :timestamp, :name, :tier, :queue def entries= list @entries = [] list.each {|entry| @entries << LeagueEntry.new(entry)} end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-lol-0.9.1 | lib/lol/league.rb |
ruby-lol-0.0.7 | lib/lol/league.rb |
ruby-lol-0.0.6 | lib/lol/league.rb |