Class: Vimeo::Simple::Album

Inherits:
Base
  • Object
show all
Defined in:
lib/vimeo/simple/album.rb

Class Method Summary collapse

Class Method Details

.info(album_id) ⇒ Object

Returns an album’s metadata.

Parameters:

  • album_id (String)

    The album’s id.



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.

Parameters:

  • album_id (String)

    The album’s id.



8
9
10
# File 'lib/vimeo/simple/album.rb', line 8

def self.videos(album_id)
  get("/album/#{album_id}/videos.json")
end