Class: LeanTesting::PlatformHandler
- Inherits:
-
EntityHandler
- Object
- EntityHandler
- LeanTesting::PlatformHandler
- Defined in:
- lib/Handler/Platform/PlatformHandler.rb
Instance Attribute Summary collapse
-
#browsers ⇒ Object
readonly
Returns the value of attribute browsers.
-
#devices ⇒ Object
readonly
Returns the value of attribute devices.
-
#os ⇒ Object
readonly
Returns the value of attribute os.
-
#types ⇒ Object
readonly
Returns the value of attribute types.
Instance Method Summary collapse
-
#initialize(origin) ⇒ PlatformHandler
constructor
A new instance of PlatformHandler.
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
#browsers ⇒ Object (readonly)
Returns the value of attribute browsers.
3 4 5 |
# File 'lib/Handler/Platform/PlatformHandler.rb', line 3 def browsers @browsers end |
#devices ⇒ Object (readonly)
Returns the value of attribute devices.
3 4 5 |
# File 'lib/Handler/Platform/PlatformHandler.rb', line 3 def devices @devices end |
#os ⇒ Object (readonly)
Returns the value of attribute os.
3 4 5 |
# File 'lib/Handler/Platform/PlatformHandler.rb', line 3 def os @os end |
#types ⇒ Object (readonly)
Returns the value of attribute types.
3 4 5 |
# File 'lib/Handler/Platform/PlatformHandler.rb', line 3 def types @types end |