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

7 lines
227 B
Smalltalk
Raw Normal View History

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