Class: LoLBase::ProfileIcon
- Inherits:
-
Object
- Object
- LoLBase::ProfileIcon
- Defined in:
- lib/lolbase/data/profile_icon.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id, summoner) ⇒ ProfileIcon
constructor
A new instance of ProfileIcon.
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
#id ⇒ Object (readonly)
Returns the value of attribute id.
3 4 5 |
# File 'lib/lolbase/data/profile_icon.rb', line 3 def id @id end |