Class: Revver4R::VideoContent

Inherits:
Object
  • Object
show all
Defined in:
lib/revver4r.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#durationObject

Returns the value of attribute duration.



128
129
130
# File 'lib/revver4r.rb', line 128

def duration
  @duration
end

#typeObject

Returns the value of attribute type.



128
129
130
# File 'lib/revver4r.rb', line 128

def type
  @type
end

#urlObject

Returns the value of attribute url.



128
129
130
# File 'lib/revver4r.rb', line 128

def url
  @url
end