Class: Lol::LeagueEntry

Inherits:
Model
  • Object
show all
Defined in:
lib/lol/league_entry.rb

Overview

Holds the representation of a League

Instance Attribute Summary collapse

Attributes inherited from Model

#raw

Method Summary

Methods inherited from Model

#initialize

Constructor Details

This class inherits a constructor from Lol::Model

Instance Attribute Details

#entry tier(tier) ⇒ String (readonly)

Returns tier of league.

Returns:

  • (String)

    tier of league



22
# File 'lib/lol/league_entry.rb', line 22

attr_reader :tier

#is_fresh_bloodObject

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_streakObject

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_inactiveObject

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_veteranObject

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_playedObject

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_nameObject

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_pointsObject

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_seriesObject

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_idObject

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_nameObject

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_typeObject

Returns the value of attribute queue_type.



18
19
20
# File 'lib/lol/league_entry.rb', line 18

def queue_type
  @queue_type
end

#rankObject

Returns the value of attribute rank.



26
27
28
# File 'lib/lol/league_entry.rb', line 26

def rank
  @rank
end

#tierObject

Returns the value of attribute tier.



22
23
24
# File 'lib/lol/league_entry.rb', line 22

def tier
  @tier
end

#time_until_decayObject

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

#winsObject

Returns the value of attribute wins.



34
35
36
# File 'lib/lol/league_entry.rb', line 34

def wins
  @wins
end