Socialmetrica/Datanalitica.package/TwitterUser.class/instance/fromDictionary..st

6 lines
183 B
Smalltalk

accessing
fromDictionary: userDict
id := userDict at: 'id'.
name := userDict at: 'name'.
userName := userDict at: 'username'.
profileImageUrl := userDict at: 'profile_image_url'.