kbremote is a Kiosk Browser Remote API client for Ruby.
gem install kbremote
api = KbRemote::API.new(key: "YOUR_KB_API_KEY", secret: "YOUR_KB_API_SECRET")
device = api.devices.first
api.patch_device(device[:id], name: device[:name] + ' AAA')
The gem is available as open source under the terms of the MIT License.