lib/vimeo/advanced/album.rb in vimeo-1.4.3 vs lib/vimeo/advanced/album.rb in vimeo-1.5.0

- old
+ new

@@ -10,42 +10,57 @@ # Creates an album. create_api_method :create, "vimeo.albums.create", :required => [:title, :video_id], :optional => [:description, :videos] - + # Deletes an album. create_api_method :delete, "vimeo.albums.delete", :required => [:album_id] - + # Returns a list of a user's albums. create_api_method :get_all, "vimeo.albums.getAll", :required => [:user_id], :optional => [:page, :per_page, :sort] - + # Returns a list of the videos in an album. create_api_method :get_videos, "vimeo.albums.getVideos", :required => [:album_id], :optional => [:page, :per_page, :full_response, :password] - + + # Returns a list of videos which exist in the user's watch later album + create_api_method :get_watch_later, + "vimeo.albums.getWatchLater", + :optional => [:page, :per_page, :full_response] + + # Adds a video to a user's watch later album + create_api_method :add_to_watch_later, + "vimeo.albums.addToWatchLater", + :required => [:video_id] + + # Adds a video to a user's watch later album + create_api_method :remove_from_watch_later, + "vimeo.albums.removeFromWatchLater", + :required => [:video_id] + # Removes a video from an album. create_api_method :remove_video, "vimeo.albums.removeVideo", :required => [:album_id, :video_id] # Sets the description of an album. create_api_method :set_description, "vimeo.albums.setDescription", :required => [:album_id, :description] - + # Sets the password of an album. create_api_method :set_password, "vimeo.albums.setPassword", :required => [:album_id, :password] - + # Sets the title of an album. create_api_method :set_title, "vimeo.albums.setTitle", :required => [:album_id, :title] \ No newline at end of file