Class: LeanTesting::PlatformOS

Inherits:
Entity
  • Object
show all
Defined in:
lib/Entity/Platform/PlatformOS.rb

Instance Attribute Summary collapse

Attributes inherited from Entity

#data

Instance Method Summary collapse

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

#versionsObject (readonly)

Returns the value of attribute versions.



3
4
5
# File 'lib/Entity/Platform/PlatformOS.rb', line 3

def versions
  @versions
end