Class: Lol::Talent

Inherits:
Model
  • Object
show all
Defined in:
lib/lol/talent.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 talent.

Returns:

  • (Fixnum)

    id of talent



6
7
8
# File 'lib/lol/talent.rb', line 6

def id
  @id
end

#nameString

Returns name of talent.

Returns:

  • (String)

    name of talent



10
11
12
# File 'lib/lol/talent.rb', line 10

def name
  @name
end

#rankFixnum

Returns rank of talent.

Returns:

  • (Fixnum)

    rank of talent



14
15
16
# File 'lib/lol/talent.rb', line 14

def rank
  @rank
end