Class: Roku::App
- Inherits:
-
Struct
- Object
- Struct
- Roku::App
- Defined in:
- lib/roku/app.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
-
#version ⇒ Object
Returns the value of attribute version.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
2 3 4 |
# File 'lib/roku/app.rb', line 2 def id @id end |
#name ⇒ Object
Returns the value of attribute name
2 3 4 |
# File 'lib/roku/app.rb', line 2 def name @name end |
#type ⇒ Object
Returns the value of attribute type
2 3 4 |
# File 'lib/roku/app.rb', line 2 def type @type end |
#version ⇒ Object
Returns the value of attribute version
2 3 4 |
# File 'lib/roku/app.rb', line 2 def version @version end |
Class Method Details
.parse(hash) ⇒ Object
8 9 10 |
# File 'lib/roku/app.rb', line 8 def parse(hash) App.new(*hash.values_at('__content__', 'id', 'type', 'version')) end |