Method: Jamf::Computer#boot_drive

Defined in:
lib/jamf/api/classic/api_objects/computer.rb

#boot_driveHash?

Returns The hardware hash of the boot drive.

Returns:



1043
1044
1045
# File 'lib/jamf/api/classic/api_objects/computer.rb', line 1043

def boot_drive
  drives.select { |d| d[:partition] && d[:partition][:type] == 'boot' }.first
end