Returns the list of all iPhones.
Returns:
the list of all iPhones
174 175 176
# File 'lib/jss/api_object/mobile_device.rb', line 174 def self.all_iphones(refresh = false, api: JSS.api) all(refresh, api: api).select { |d| d[:model].start_with? 'iPhone' } end