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