9 lines
313 B
Smalltalk
9 lines
313 B
Smalltalk
|
accessing
|
||
|
fromNitter: aDictionary
|
||
|
"created := (aDictionary at: 'pubDate') asDateAndTime."
|
||
|
text := aDictionary at: 'text'.
|
||
|
"id := aDictionary at: 'id'.
|
||
|
authorId := aDictionary at: 'author_id'."
|
||
|
user := aDictionary at: 'creator'.
|
||
|
"conversationId := aDictionary at: 'conversation_id' ifAbsent: [ '' ]."
|
||
|
^ self
|