Class: Lol::LeagueEntry
Overview
Holds the representation of a League
Instance Attribute Summary collapse
-
#entry tier(tier) ⇒ String
readonly
Tier of league.
-
#is_fresh_blood ⇒ Object
readonly
Returns the value of attribute is_fresh_blood.
-
#is_hot_streak ⇒ Object
readonly
Returns the value of attribute is_hot_streak.
-
#is_inactive ⇒ Object
readonly
Returns the value of attribute is_inactive.
-
#is_veteran ⇒ Object
readonly
Returns the value of attribute is_veteran.
-
#last_played ⇒ Object
readonly
Returns the value of attribute last_played.
-
#league_name ⇒ Object
readonly
Returns the value of attribute league_name.
-
#league_points ⇒ Object
readonly
Returns the value of attribute league_points.
-
#mini_series ⇒ Object
readonly
Returns the value of attribute mini_series.
-
#player_or_team_id ⇒ Object
readonly
Returns the value of attribute player_or_team_id.
-
#player_or_team_name ⇒ Object
readonly
Returns the value of attribute player_or_team_name.
-
#queue_type ⇒ Object
readonly
Returns the value of attribute queue_type.
-
#rank ⇒ Object
readonly
Returns the value of attribute rank.
-
#tier ⇒ Object
readonly
Returns the value of attribute tier.
-
#time_until_decay ⇒ Object
readonly
Returns the value of attribute time_until_decay.
-
#wins ⇒ Object
readonly
Returns the value of attribute wins.
Attributes inherited from Model
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from Lol::Model
Instance Attribute Details
#entry tier(tier) ⇒ String (readonly)
Returns tier of league.
22 |
# File 'lib/lol/league_entry.rb', line 22 attr_reader :tier |
#is_fresh_blood ⇒ Object
Returns the value of attribute is_fresh_blood.
46 47 48 |
# File 'lib/lol/league_entry.rb', line 46 def is_fresh_blood @is_fresh_blood end |
#is_hot_streak ⇒ Object
Returns the value of attribute is_hot_streak.
38 39 40 |
# File 'lib/lol/league_entry.rb', line 38 def is_hot_streak @is_hot_streak end |
#is_inactive ⇒ Object
Returns the value of attribute is_inactive.
50 51 52 |
# File 'lib/lol/league_entry.rb', line 50 def is_inactive @is_inactive end |
#is_veteran ⇒ Object
Returns the value of attribute is_veteran.
42 43 44 |
# File 'lib/lol/league_entry.rb', line 42 def is_veteran @is_veteran end |
#last_played ⇒ Object
Returns the value of attribute last_played.
56 57 58 |
# File 'lib/lol/league_entry.rb', line 56 def last_played @last_played end |
#league_name ⇒ Object
Returns the value of attribute league_name.
14 15 16 |
# File 'lib/lol/league_entry.rb', line 14 def league_name @league_name end |
#league_points ⇒ Object
Returns the value of attribute league_points.
30 31 32 |
# File 'lib/lol/league_entry.rb', line 30 def league_points @league_points end |
#mini_series ⇒ Object
Returns the value of attribute mini_series.
65 66 67 |
# File 'lib/lol/league_entry.rb', line 65 def mini_series @mini_series end |
#player_or_team_id ⇒ Object
Returns the value of attribute player_or_team_id.
6 7 8 |
# File 'lib/lol/league_entry.rb', line 6 def player_or_team_id @player_or_team_id end |
#player_or_team_name ⇒ Object
Returns the value of attribute player_or_team_name.
10 11 12 |
# File 'lib/lol/league_entry.rb', line 10 def player_or_team_name @player_or_team_name end |
#queue_type ⇒ Object
Returns the value of attribute queue_type.
18 19 20 |
# File 'lib/lol/league_entry.rb', line 18 def queue_type @queue_type end |
#rank ⇒ Object
Returns the value of attribute rank.
26 27 28 |
# File 'lib/lol/league_entry.rb', line 26 def rank @rank end |
#tier ⇒ Object
Returns the value of attribute tier.
22 23 24 |
# File 'lib/lol/league_entry.rb', line 22 def tier @tier end |
#time_until_decay ⇒ Object
Returns the value of attribute time_until_decay.
60 61 62 |
# File 'lib/lol/league_entry.rb', line 60 def time_until_decay @time_until_decay end |
#wins ⇒ Object
Returns the value of attribute wins.
34 35 36 |
# File 'lib/lol/league_entry.rb', line 34 def wins @wins end |