Files
Sightstone/lib/sightstone/summoner.rb
danijoo ebc571749e fix
2013-12-13 19:10:36 +01:00

16 lines
301 B
Ruby

class Summoner
attr_accessor :name, :id, :profileIconId, :revisionDate, :level
def initialize(data)
@name = data['name']
@id = data['id']
@profileIconId = data['profileIconId']
@revisionDate = data['revisionDate']
@level = data['summonerLevel']
end
end