Method: Snapshot::TestCommandGeneratorBase.device_udid

Defined in:
snapshot/lib/snapshot/test_command_generator_base.rb

.device_udid(device_name, os_version = ) ⇒ Object



76
77
78
79
80
# File 'snapshot/lib/snapshot/test_command_generator_base.rb', line 76

def device_udid(device_name, os_version = Snapshot.config[:ios_version])
  device = find_device(device_name, os_version)

  return device ? device.udid : nil
end