class Sightstone::Summoner
Class to represent a summoner @attr [String] name name @attr [Long] id summoner id (used for other calls) @attr [Integer] profileIconId profile icon id of the summoner @attr [long] revisionDate timestamp of latest data change @attr [Integer] level summoner level
Attributes
id[RW]
level[RW]
name[RW]
profileIconId[RW]
revisionDate[RW]
Public Class Methods
new(data)
click to toggle source
@param data [Hash] json hash representation of the summoner
# File lib/sightstone/summoner.rb, line 13 def initialize(data) @name = data['name'] @id = data['id'] @profileIconId = data['profileIconId'] @revisionDate = data['revisionDate'] @level = data['summonerLevel'] end