Method: JSS::MobileDevice.all_supervised

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

.all_supervised(refresh = false, api: JSS.api) ⇒ Array<Hash>

Returns the list of all supervised mobile devices.

Returns:

  • (Array<Hash>)

    the list of all supervised mobile devices



164
165
166
# File 'lib/jss/api_object/mobile_device.rb', line 164

def self.all_supervised(refresh = false, api: JSS.api)
  all(refresh, api: api).select { |d| d[:supervised] }
end