Socialmetrica/Socialmetrica.package/TwitterAPI.class/class/apiKeysFile.st

5 lines
292 B
Smalltalk

accessing
apiKeysFile
"Return the defined apiKeysFile or assign a default location following the Linux Standard
File Hierarchy, which is relatively portable to other Operative Systems."
^ apiKeysFile ifNil: [ apiKeysFile := FileLocator home / '.config/Datanalitica/twitter-api-keys.json' ]