Sha256: 4267bb19fb8748e255708c0ff994979aae7f1f563fac892559a57ece93339101
Contents?: true
Size: 357 Bytes
Versions: 19
Compression:
Stored size: 357 Bytes
Contents
Execute.define_task do desc "delete-device", "Deletes a device from rhoconnect" def delete_device invoke :config user_id = ask "device's user_id: " device_id = ask "device to delete: " RestClient.post("#{$url}/api/client/delete_client", { :api_token => $token, :user_id => user_id, :client_id => device_id}) end #delete_device end #do
Version data entries
19 entries across 19 versions & 1 rubygems