I have a string and need to extract the device_id. In the example I would need "00:06:66:7C:6A:C0"
{ "app_data_quota":{"max":153600,"used":9432},
"aux_device_data_reference":{"reference_id":70},
"aux_device_data_in":{"device_id":"00:06:66:7C:6A:C0","aux_data":"LS0tCiQkJA=="},
"aux_device_data_quota":{"max":153600,"used":9432}
}
h.values.select{ |x| x[:device_id] }[0][:device_id]?h = eval(string)