Class: LolApi::Recommended
- Inherits:
-
Object
- Object
- LolApi::Recommended
- Defined in:
- lib/lol_api/types/dtos/recommended.rb
Instance Attribute Summary collapse
-
#raw_recommended ⇒ Object
readonly
Returns the value of attribute raw_recommended.
Instance Method Summary collapse
- #blocks ⇒ Object
- #champion ⇒ Object
-
#initialize(raw_recommended) ⇒ Recommended
constructor
A new instance of Recommended.
- #map ⇒ Object
- #mode ⇒ Object
- #priority ⇒ Object
- #title ⇒ Object
- #type ⇒ Object
Constructor Details
#initialize(raw_recommended) ⇒ Recommended
Returns a new instance of Recommended.
6 7 8 |
# File 'lib/lol_api/types/dtos/recommended.rb', line 6 def initialize(raw_recommended) @raw_recommended = raw_recommended end |
Instance Attribute Details
#raw_recommended ⇒ Object (readonly)
Returns the value of attribute raw_recommended.
4 5 6 |
# File 'lib/lol_api/types/dtos/recommended.rb', line 4 def raw_recommended @raw_recommended end |
Instance Method Details
#blocks ⇒ Object
10 11 12 |
# File 'lib/lol_api/types/dtos/recommended.rb', line 10 def blocks raw_recommended['blocks'] end |
#champion ⇒ Object
14 15 16 |
# File 'lib/lol_api/types/dtos/recommended.rb', line 14 def champion raw_recommended['champion'] end |
#map ⇒ Object
18 19 20 |
# File 'lib/lol_api/types/dtos/recommended.rb', line 18 def map raw_recommended['map'] end |
#mode ⇒ Object
22 23 24 |
# File 'lib/lol_api/types/dtos/recommended.rb', line 22 def mode raw_recommended['mode'] end |
#priority ⇒ Object
26 27 28 |
# File 'lib/lol_api/types/dtos/recommended.rb', line 26 def priority raw_recommended['priority'] end |
#title ⇒ Object
30 31 32 |
# File 'lib/lol_api/types/dtos/recommended.rb', line 30 def title raw_recommended['title'] end |
#type ⇒ Object
34 35 36 |
# File 'lib/lol_api/types/dtos/recommended.rb', line 34 def type raw_recommended['type'] end |