Sha256: 6e36addd4bf0263966b0ac03e43a2ea865d25eae27ed0119cc750259d1bba47d

Contents?: true

Size: 472 Bytes

Versions: 17

Compression:

Stored size: 472 Bytes

Contents

module Vimeo
  module Simple

    class Album < Vimeo::Simple::Base
      # Returns a list of an album's videos.
      #
      # @param [String] album_id The album's id.
      def self.videos(album_id)
        get("/album/#{album_id}/videos.json")
      end

      # Returns an album's metadata.
      #
      # @param [String] album_id The album's id.
      def self.info(album_id)
        get("/album/#{album_id}/info.json")
      end
    end

  end # Simple
end # Vimeo

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
vimeo-1.5.4 lib/vimeo/simple/album.rb
vimeo-1.5.3 lib/vimeo/simple/album.rb
slainer68_vimeo-1.5.2 lib/vimeo/simple/album.rb
vimeo-1.5.2 lib/vimeo/simple/album.rb
vimeo-1.5.1 lib/vimeo/simple/album.rb
vimeo-1.5.0 lib/vimeo/simple/album.rb
slainer68_vimeo-1.4.4 lib/vimeo/simple/album.rb
slainer68_vimeo-1.4.3 lib/vimeo/simple/album.rb
vimeo-1.4.3 lib/vimeo/simple/album.rb
vimeo-1.4.2 lib/vimeo/simple/album.rb
vimeo-1.4.1 lib/vimeo/simple/album.rb
vimeo-1.4.0 lib/vimeo/simple/album.rb
vimeo-1.3.0 lib/vimeo/simple/album.rb
vimeo-1.2.2 lib/vimeo/simple/album.rb
vimeo-1.2.0 lib/vimeo/simple/album.rb
vimeo-1.1.0 lib/vimeo/simple/album.rb
vimeo-1.0.0 lib/vimeo/simple/album.rb