Socialmetrica/Socialmetrica.package/TweetsCollection.class/instance/store.st

9 lines
347 B
Smalltalk
Raw Normal View History

accessing
store
| localFolder parameters |
parameters := self queryParameters .
(parameters class = NitterUser or: [ parameters class = TwitterUser ])
ifFalse: [ ^ self ].
localFolder := (self dataStore / 'twitter.com' / parameters userName) ensureCreateDirectory.
self tweets do: [:each | each exportInto: localFolder ].
^ localFolder