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

Constructor Details

This class inherits a constructor from Lol::Model

Instance Attribute Details

#currentObject

Returns the value of attribute current.



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

def current
  @current
end

#idFixnum (readonly)

Returns id of summoner.

Returns:

  • (Fixnum)

    id of summoner



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

attr_reader :summoner_id

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#summoner_idObject

Returns the value of attribute summoner_id.



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

def summoner_id
  @summoner_id
end

#talentsObject

Returns the value of attribute talents.



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

def talents
  @talents
end