Class: Lol::MasteryPage

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

#currentBoolean

Returns is it the current mastery page?.

Returns:

  • (Boolean)

    is it the current mastery page?



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

def current
  @current
end

#idFixnum

Returns mastery page id.

Returns:

  • (Fixnum)

    mastery page id



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

def id
  @id
end

#nameString

Returns name of mastery page.

Returns:

  • (String)

    name of mastery page



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

def name
  @name
end

#talentsArray

Returns array of Lol::Talent.

Returns:

  • (Array)

    array of Lol::Talent



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

def talents
  @talents
end