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

10 lines
400 B
Smalltalk

accessing
fromNitterProfile: userNameString
| nitterUser joinDateString |
nitterUser := NitterUser new userName: userNameString.
name := nitterUser name.
userName := nitterUser userName.
"((title splitOn: '/') second trimmed) allButFirst." "<--This should go to a test."
profileImageUrl := nitterUser profileImageUrl.
description := nitterUser description.
createdAt := nitterUser createdAt.