Class: Vimeo::Video
- Defined in:
- lib/vimeo/objects/video.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Video
constructor
A new instance of Video.
Methods inherited from Object
Constructor Details
#initialize(options = {}) ⇒ Video
Returns a new instance of Video.
4 5 6 7 8 |
# File 'lib/vimeo/objects/video.rb', line 4 def initialize( = {}) super self.id = ["uri"].gsub("/videos/", "") end |