Class: LolApi::Inventory

Inherits:
Object
  • Object
show all
Defined in:
lib/lol_api/types/dtos/participant.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#item0Object (readonly)

Returns the value of attribute item0.



375
376
377
# File 'lib/lol_api/types/dtos/participant.rb', line 375

def item0
  @item0
end

#item1Object (readonly)

Returns the value of attribute item1.



375
376
377
# File 'lib/lol_api/types/dtos/participant.rb', line 375

def item1
  @item1
end

#item2Object (readonly)

Returns the value of attribute item2.



375
376
377
# File 'lib/lol_api/types/dtos/participant.rb', line 375

def item2
  @item2
end

#item3Object (readonly)

Returns the value of attribute item3.



375
376
377
# File 'lib/lol_api/types/dtos/participant.rb', line 375

def item3
  @item3
end

#item4Object (readonly)

Returns the value of attribute item4.



375
376
377
# File 'lib/lol_api/types/dtos/participant.rb', line 375

def item4
  @item4
end

#item5Object (readonly)

Returns the value of attribute item5.



375
376
377
# File 'lib/lol_api/types/dtos/participant.rb', line 375

def item5
  @item5
end

#item6Object (readonly)

Returns the value of attribute item6.



375
376
377
# File 'lib/lol_api/types/dtos/participant.rb', line 375

def item6
  @item6
end