Class: Vk::API::Video::Methods::DeleteAlbum

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/video/methods/delete_album.rb

Overview

Deletes a video album.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Video::Methods::DeleteAlbum

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    Community ID (if the album is owned by a community).

  • :album_id (Integer)

    Album ID.



# File 'lib/vk/api/video/methods/delete_album.rb', line 15

Instance Method Details

#album_idInteger

Returns Album ID.

Returns:

  • (Integer)

    Album ID.



26
# File 'lib/vk/api/video/methods/delete_album.rb', line 26

attribute :album_id, API::Types::Coercible::Int

#group_idInteger

Returns Community ID (if the album is owned by a community).

Returns:

  • (Integer)

    Community ID (if the album is owned by a community).



24
# File 'lib/vk/api/video/methods/delete_album.rb', line 24

attribute :group_id, API::Types::Coercible::Int.optional.default(nil)