Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 555 Bytes

registry.md

File metadata and controls

10 lines (8 loc) · 555 Bytes

Kopytko Framework: Registry

The registry entity is a facade for roRegistrySection. The section name is composed of title string and app id. For instance if manifest's title is MyApp and the app id is 123 the section name is MyApp-123. The facade provides method to get, set and delete values in the registry.

registry = RegistryFacade()
registry.set("token", "userToken") ' Returns true if writing was successful
?registy.get("token") ' prints "userToken"
registry.delete("token") ' Returns true if deletion was successful