Exception: XCSim::BundleNotFoundError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- XCSim::BundleNotFoundError
- Defined in:
- lib/xcsim/rbBundleInfo.rb
Overview
An error, which is raised by GetBundle class when bundle ID specified by :bundleID
option has not been found (even with partial match) on the device
Instance Attribute Summary collapse
-
#bundleID ⇒ Object
readonly
Bundle ID provided in
:bundleID
option. -
#device ⇒ Object
readonly
A DeviceID object corresponding to the device, which was used when searching for the application bundle.
-
#os ⇒ Object
readonly
An OSDevices object corresponding to the OS version, which was used when searching for the application bundle.
Instance Method Summary collapse
-
#initialize(os, device, bundleID) ⇒ BundleNotFoundError
constructor
Initializes a BundleNotFoundError instance with a given os, device and bundleID.
Constructor Details
#initialize(os, device, bundleID) ⇒ BundleNotFoundError
Initializes a BundleNotFoundError instance with a given os, device and bundleID
55 56 57 58 59 |
# File 'lib/xcsim/rbBundleInfo.rb', line 55 def initialize(os, device, bundleID) @os = os @device = device @bundleID = bundleID end |
Instance Attribute Details
#bundleID ⇒ Object (readonly)
Bundle ID provided in :bundleID
option
52 53 54 |
# File 'lib/xcsim/rbBundleInfo.rb', line 52 def bundleID @bundleID end |
#device ⇒ Object (readonly)
A DeviceID object corresponding to the device, which was used when searching for the application bundle
49 50 51 |
# File 'lib/xcsim/rbBundleInfo.rb', line 49 def device @device end |
#os ⇒ Object (readonly)
An OSDevices object corresponding to the OS version, which was used when searching for the application bundle
45 46 47 |
# File 'lib/xcsim/rbBundleInfo.rb', line 45 def os @os end |