Class: ProteusClient::Video
- Inherits:
-
Struct
- Object
- Struct
- ProteusClient::Video
- Defined in:
- lib/proteus_client/models/video.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#thumbnails ⇒ Object
Returns the value of attribute thumbnails.
-
#versions ⇒ Object
Returns the value of attribute versions.
Instance Method Summary collapse
-
#initialize(options) ⇒ Video
constructor
A new instance of Video.
Constructor Details
#initialize(options) ⇒ Video
Returns a new instance of Video.
4 5 6 7 8 |
# File 'lib/proteus_client/models/video.rb', line 4 def initialize() .each do |key, value| self[key.to_sym] = value end end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
2 3 4 |
# File 'lib/proteus_client/models/video.rb', line 2 def id @id end |
#thumbnails ⇒ Object
Returns the value of attribute thumbnails
2 3 4 |
# File 'lib/proteus_client/models/video.rb', line 2 def thumbnails @thumbnails end |
#versions ⇒ Object
Returns the value of attribute versions
2 3 4 |
# File 'lib/proteus_client/models/video.rb', line 2 def versions @versions end |