Class: LeanTesting::PlatformType
- Defined in:
- lib/Entity/Platform/PlatformType.rb
Instance Attribute Summary collapse
-
#devices ⇒ Object
readonly
Returns the value of attribute devices.
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize(origin, data) ⇒ PlatformType
constructor
A new instance of PlatformType.
Constructor Details
#initialize(origin, data) ⇒ PlatformType
Returns a new instance of PlatformType.
5 6 7 8 9 |
# File 'lib/Entity/Platform/PlatformType.rb', line 5 def initialize(origin, data) super @devices = PlatformTypeDevicesHandler.new(origin, data['id']) end |
Instance Attribute Details
#devices ⇒ Object (readonly)
Returns the value of attribute devices.
3 4 5 |
# File 'lib/Entity/Platform/PlatformType.rb', line 3 def devices @devices end |