Class: LoLBase::ProfileIcon

Inherits:
Object
  • Object
show all
Defined in:
lib/lolbase/data/profile_icon.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, summoner) ⇒ ProfileIcon

Returns a new instance of ProfileIcon.



5
6
7
8
9
# File 'lib/lolbase/data/profile_icon.rb', line 5

def initialize(id, summoner)
  @id = id
  @summoner = summoner
  self
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



3
4
5
# File 'lib/lolbase/data/profile_icon.rb', line 3

def id
  @id
end