Class: Bitrise::TestDevice
- Inherits:
-
Object
- Object
- Bitrise::TestDevice
- Defined in:
- lib/bitrise/test_device.rb
Instance Attribute Summary collapse
-
#device_id ⇒ Object
Returns the value of attribute device_id.
-
#device_type ⇒ Object
Returns the value of attribute device_type.
-
#owner ⇒ Object
Returns the value of attribute owner.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ TestDevice
constructor
A new instance of TestDevice.
Constructor Details
#initialize(attrs = {}) ⇒ TestDevice
Returns a new instance of TestDevice.
5 6 7 8 9 |
# File 'lib/bitrise/test_device.rb', line 5 def initialize(attrs = {}) @device_id = attrs['device_id'] @device_type = attrs['device_type'] @owner = attrs['owner'] end |
Instance Attribute Details
#device_id ⇒ Object
Returns the value of attribute device_id.
3 4 5 |
# File 'lib/bitrise/test_device.rb', line 3 def device_id @device_id end |
#device_type ⇒ Object
Returns the value of attribute device_type.
3 4 5 |
# File 'lib/bitrise/test_device.rb', line 3 def device_type @device_type end |
#owner ⇒ Object
Returns the value of attribute owner.
3 4 5 |
# File 'lib/bitrise/test_device.rb', line 3 def owner @owner end |