Class: LeanTesting::PlatformBrowser
- Defined in:
- lib/Entity/Platform/PlatformBrowser.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) ⇒ PlatformBrowser
constructor
A new instance of PlatformBrowser.
Constructor Details
#initialize(origin, data) ⇒ PlatformBrowser
Returns a new instance of PlatformBrowser.
5 6 7 8 9 |
# File 'lib/Entity/Platform/PlatformBrowser.rb', line 5 def initialize(origin, data) super @versions = PlatformBrowserVersionsHandler.new(origin, data['id']) end |
Instance Attribute Details
#versions ⇒ Object (readonly)
Returns the value of attribute versions.
3 4 5 |
# File 'lib/Entity/Platform/PlatformBrowser.rb', line 3 def versions @versions end |