Class: Lol::Summoner
Instance Attribute Summary collapse
- #id ⇒ String readonly
-
#name ⇒ String
readonly
Summoner Name.
-
#profile_icon_id ⇒ String
readonly
Id of the profile icon.
-
#revision_date ⇒ Time
readonly
Last date of summoner profile revision.
-
#revision_date_str ⇒ String
readonly
Human readable string representing date of summoner profile revision.
-
#summoner_level ⇒ Numeric
readonly
1-30.
Attributes inherited from Model
Method Summary
Methods inherited from Model
Constructor Details
This class inherits a constructor from Lol::Model
Instance Attribute Details
#id ⇒ String
5 6 7 |
# File 'lib/lol/summoner.rb', line 5 def id @id end |
#name ⇒ String
Returns Summoner Name.
9 10 11 |
# File 'lib/lol/summoner.rb', line 9 def name @name end |
#profile_icon_id ⇒ String
Returns Id of the profile icon. No way to get the icon out for now.
13 14 15 |
# File 'lib/lol/summoner.rb', line 13 def profile_icon_id @profile_icon_id end |
#revision_date ⇒ Time
Returns Last date of summoner profile revision.
17 18 19 |
# File 'lib/lol/summoner.rb', line 17 def revision_date @revision_date end |
#revision_date_str ⇒ String
Returns Human readable string representing date of summoner profile revision.
21 22 23 |
# File 'lib/lol/summoner.rb', line 21 def revision_date_str @revision_date_str end |
#summoner_level ⇒ Numeric
Returns 1-30.
25 26 27 |
# File 'lib/lol/summoner.rb', line 25 def summoner_level @summoner_level end |