Method: JSS::Computer#boot_drive

Defined in:
lib/jss/api_object/computer.rb

#boot_driveHash?

Returns The hardware hash of the boot drive.

Returns:



907
908
909
# File 'lib/jss/api_object/computer.rb', line 907

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