require ‘roozer_client’
# Connect to a roozer server. Multiple servers can be listed seperated by # semicolons. Client uses round robin until it finds a server that responds # to its requests.
rc = RoozerClient.new(url: ‘orch1:2987;http://orch2:2987’, path: ‘rootpath’)
rc = { data: “abc” }
rc.list
> [‘subpath’]
> { “data” => “abc” }
rc.delete ‘subpath/data’
# sets the data only if is different to what is already there rc.update(path, …data…)