This commit is contained in:
danijoo
2013-12-13 19:10:36 +01:00
parent 83c04d8ffb
commit ebc571749e
2 changed files with 6 additions and 4 deletions

View File

@@ -2,13 +2,13 @@
class Summoner
attr_accessor :name, :id, :profile_icon_id, :revision_date, :level
attr_accessor :name, :id, :profileIconId, :revisionDate, :level
def initialize(data)
@name = data['name']
@id = data['id']
@profile_icon_id = data['profileIconId']
@revision_date = data['revisionDate']
@profileIconId = data['profileIconId']
@revisionDate = data['revisionDate']
@level = data['summonerLevel']
end