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

8 lines
286 B
Smalltalk

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