Class: Vimeo::Simple::Album
Class Method Summary collapse
-
.info(album_id) ⇒ Object
Returns an album’s metadata.
-
.videos(album_id) ⇒ Object
Returns a list of an album’s videos.
Class Method Details
.info(album_id) ⇒ Object
Returns an album’s metadata.
15 16 17 |
# File 'lib/vimeo/simple/album.rb', line 15 def self.info(album_id) get("/album/#{album_id}/info.json") end |
.videos(album_id) ⇒ Object
Returns a list of an album’s videos.
8 9 10 |
# File 'lib/vimeo/simple/album.rb', line 8 def self.videos(album_id) get("/album/#{album_id}/videos.json") end |