Ruby数组操作Tips 从数组中查找是否有id匹配的项 list_volumes_detail.body['volumes'].map { |v| v['id'] }.include? volume_id