Class: LeanTesting::PlatformHandler

Inherits:
EntityHandler show all
Defined in:
lib/Handler/Platform/PlatformHandler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from EntityHandler

#all, #create, #delete, #find, #update

Constructor Details

#initialize(origin) ⇒ PlatformHandler

Returns a new instance of PlatformHandler.



14
15
16
17
18
19
20
21
# File 'lib/Handler/Platform/PlatformHandler.rb', line 14

def initialize(origin)
	super

	@types		= PlatformTypesHandler.new(origin)
	@devices	= PlatformDevicesHandler.new(origin)
	@os			= PlatformOSHandler.new(origin)
	@browsers	= PlatformBrowsersHandler.new(origin)
end

Instance Attribute Details

#browsersObject (readonly)

Returns the value of attribute browsers.



3
4
5
# File 'lib/Handler/Platform/PlatformHandler.rb', line 3

def browsers
  @browsers
end

#devicesObject (readonly)

Returns the value of attribute devices.



3
4
5
# File 'lib/Handler/Platform/PlatformHandler.rb', line 3

def devices
  @devices
end

#osObject (readonly)

Returns the value of attribute os.



3
4
5
# File 'lib/Handler/Platform/PlatformHandler.rb', line 3

def os
  @os
end

#typesObject (readonly)

Returns the value of attribute types.



3
4
5
# File 'lib/Handler/Platform/PlatformHandler.rb', line 3

def types
  @types
end