Class: Revver4R::VideoContent
- Inherits:
-
Object
- Object
- Revver4R::VideoContent
- Defined in:
- lib/revver4r.rb
Instance Attribute Summary collapse
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#type ⇒ Object
Returns the value of attribute type.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(type, url, duration) ⇒ VideoContent
constructor
A new instance of VideoContent.
Constructor Details
#initialize(type, url, duration) ⇒ VideoContent
Returns a new instance of VideoContent.
129 130 131 132 133 |
# File 'lib/revver4r.rb', line 129 def initialize(type, url, duration) @type = type @url = url @duration = duration end |
Instance Attribute Details
#duration ⇒ Object
Returns the value of attribute duration.
128 129 130 |
# File 'lib/revver4r.rb', line 128 def duration @duration end |
#type ⇒ Object
Returns the value of attribute type.
128 129 130 |
# File 'lib/revver4r.rb', line 128 def type @type end |
#url ⇒ Object
Returns the value of attribute url.
128 129 130 |
# File 'lib/revver4r.rb', line 128 def url @url end |