initial commit

This commit is contained in:
danijoo
2013-12-13 09:10:40 +01:00
commit 16f738c060
10 changed files with 641 additions and 0 deletions

View File

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