Method: DeviceAPI::IOS::Device#install
- Defined in:
- lib/device_api/ios/device.rb
#install(ipa) ⇒ Boolean, Exception
Install a specified IPA
93 94 95 96 97 98 99 100 |
# File 'lib/device_api/ios/device.rb', line 93 def install(ipa) fail StandardError, 'No IPA or app specified.', caller if ipa.empty? res = install_ipa(ipa) fail StandardError, res, caller unless res true end |