Class: Lol::RunePage

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

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

#currentArray (readonly)

Returns array of Lol::RuneSlot.

Returns:

  • (Array)

    array of Lol::RuneSlot



13
14
15
# File 'lib/lol/rune_page.rb', line 13

def current
  @current
end

#idObject (readonly)

Returns the value of attribute id.



5
6
7
# File 'lib/lol/rune_page.rb', line 5

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



9
10
11
# File 'lib/lol/rune_page.rb', line 9

def name
  @name
end

#slotsObject (readonly)

Returns the value of attribute slots.



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

def slots
  @slots
end