Class: LolApi::Inventory
- Inherits:
-
Object
- Object
- LolApi::Inventory
- Defined in:
- lib/lol_api/types/dtos/participant.rb
Instance Attribute Summary collapse
-
#item0 ⇒ Object
readonly
Returns the value of attribute item0.
-
#item1 ⇒ Object
readonly
Returns the value of attribute item1.
-
#item2 ⇒ Object
readonly
Returns the value of attribute item2.
-
#item3 ⇒ Object
readonly
Returns the value of attribute item3.
-
#item4 ⇒ Object
readonly
Returns the value of attribute item4.
-
#item5 ⇒ Object
readonly
Returns the value of attribute item5.
-
#item6 ⇒ Object
readonly
Returns the value of attribute item6.
Instance Method Summary collapse
-
#initialize(items) ⇒ Inventory
constructor
A new instance of Inventory.
Constructor Details
#initialize(items) ⇒ Inventory
Returns a new instance of Inventory.
376 377 378 379 380 381 382 383 384 |
# File 'lib/lol_api/types/dtos/participant.rb', line 376 def initialize(items) @item0 = items[0] @item1 = items[1] @item2 = items[2] @item3 = items[3] @item4 = items[4] @item5 = items[5] @item6 = items[6] end |
Instance Attribute Details
#item0 ⇒ Object (readonly)
Returns the value of attribute item0.
375 376 377 |
# File 'lib/lol_api/types/dtos/participant.rb', line 375 def item0 @item0 end |
#item1 ⇒ Object (readonly)
Returns the value of attribute item1.
375 376 377 |
# File 'lib/lol_api/types/dtos/participant.rb', line 375 def item1 @item1 end |
#item2 ⇒ Object (readonly)
Returns the value of attribute item2.
375 376 377 |
# File 'lib/lol_api/types/dtos/participant.rb', line 375 def item2 @item2 end |
#item3 ⇒ Object (readonly)
Returns the value of attribute item3.
375 376 377 |
# File 'lib/lol_api/types/dtos/participant.rb', line 375 def item3 @item3 end |
#item4 ⇒ Object (readonly)
Returns the value of attribute item4.
375 376 377 |
# File 'lib/lol_api/types/dtos/participant.rb', line 375 def item4 @item4 end |
#item5 ⇒ Object (readonly)
Returns the value of attribute item5.
375 376 377 |
# File 'lib/lol_api/types/dtos/participant.rb', line 375 def item5 @item5 end |
#item6 ⇒ Object (readonly)
Returns the value of attribute item6.
375 376 377 |
# File 'lib/lol_api/types/dtos/participant.rb', line 375 def item6 @item6 end |