Class: Lol::Champion
Instance Attribute Summary collapse
- #active ⇒ true, false readonly
-
#attack_rank ⇒ Fixnum
readonly
Attack rank of Champion.
- #bot_enabled ⇒ true, false readonly
- #bot_mm_enabled ⇒ true, false readonly
-
#defense_rank ⇒ Fixnum
readonly
Defense rank of Champion.
-
#difficulty_rank ⇒ Fixnum
readonly
Difficulty rank of Champion.
- #free_to_play ⇒ true, false readonly
-
#id ⇒ Fixnum
readonly
Id of Champion.
-
#magic_rank ⇒ Fixnum
readonly
Magic rank of Champion.
-
#name ⇒ String
readonly
Name of Champion.
- #ranked_play_enabled ⇒ true, false readonly
Attributes inherited from Model
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from Lol::Model
Instance Attribute Details
#active ⇒ true, false
14 15 16 |
# File 'lib/lol/champion.rb', line 14 def active @active end |
#attack_rank ⇒ Fixnum
Returns attack rank of Champion.
18 19 20 |
# File 'lib/lol/champion.rb', line 18 def attack_rank @attack_rank end |
#bot_enabled ⇒ true, false
35 36 37 |
# File 'lib/lol/champion.rb', line 35 def bot_enabled @bot_enabled end |
#bot_mm_enabled ⇒ true, false
45 46 47 |
# File 'lib/lol/champion.rb', line 45 def bot_mm_enabled @bot_mm_enabled end |
#defense_rank ⇒ Fixnum
Returns defense rank of Champion.
22 23 24 |
# File 'lib/lol/champion.rb', line 22 def defense_rank @defense_rank end |
#difficulty_rank ⇒ Fixnum
Returns difficulty rank of Champion.
30 31 32 |
# File 'lib/lol/champion.rb', line 30 def difficulty_rank @difficulty_rank end |
#free_to_play ⇒ true, false
40 41 42 |
# File 'lib/lol/champion.rb', line 40 def free_to_play @free_to_play end |
#id ⇒ Fixnum
Returns id of Champion.
5 6 7 |
# File 'lib/lol/champion.rb', line 5 def id @id end |
#magic_rank ⇒ Fixnum
Returns magic rank of Champion.
26 27 28 |
# File 'lib/lol/champion.rb', line 26 def magic_rank @magic_rank end |
#name ⇒ String
Returns name of Champion.
9 10 11 |
# File 'lib/lol/champion.rb', line 9 def name @name end |
#ranked_play_enabled ⇒ true, false
50 51 52 |
# File 'lib/lol/champion.rb', line 50 def ranked_play_enabled @ranked_play_enabled end |