Class: Lol::League
Overview
Holds the representation of a League
Instance Attribute Summary collapse
-
#entries ⇒ String
readonly
Summoners / teams in queue.
-
#name ⇒ String
readonly
Name of league.
-
#participant_id ⇒ String
readonly
Summoner id of league participant.
-
#queue ⇒ String
readonly
Type of queue.
-
#tier ⇒ String
readonly
Tier of league.
Attributes inherited from Model
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from Lol::Model
Instance Attribute Details
#entries ⇒ String
Returns summoners / teams in queue.
18 19 20 |
# File 'lib/lol/league.rb', line 18 def entries @entries end |
#name ⇒ String
Returns name of league.
6 7 8 |
# File 'lib/lol/league.rb', line 6 def name @name end |
#participant_id ⇒ String
Returns summoner id of league participant.
22 23 24 |
# File 'lib/lol/league.rb', line 22 def participant_id @participant_id end |
#queue ⇒ String
Returns type of queue.
14 15 16 |
# File 'lib/lol/league.rb', line 14 def queue @queue end |
#tier ⇒ String
Returns tier of league.
10 11 12 |
# File 'lib/lol/league.rb', line 10 def tier @tier end |