Class: LeanTesting::PlatformType

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

Instance Attribute Summary collapse

Attributes inherited from Entity

#data

Instance Method Summary collapse

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

#devicesObject (readonly)

Returns the value of attribute devices.



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

def devices
  @devices
end