Class: Lol::RuneSlot

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

Instance Attribute Summary collapse

Attributes inherited from Model

#raw

Method Summary

Methods inherited from Model

#initialize, #inspect

Constructor Details

This class inherits a constructor from Lol::Model

Instance Attribute Details

#idFixnum

Returns id of RuneSlot.

Returns:

  • (Fixnum)

    id of RuneSlot



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

def id
  @rune_slot_id
end

#runeRune

Returns rune placed in the slot.

Returns:

  • (Rune)

    rune placed in the slot



11
12
13
# File 'lib/lol/rune_slot.rb', line 11

def rune
  @rune
end