Class: Vk::API::Audio::Methods::DeleteAlbum

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

Overview

Deletes an audio album.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    ID of the community where the album is located.;

  • :album_id (Integer)

    Album ID.


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

Instance Method Details

#album_idInteger

Returns Album ID.

Returns:

  • (Integer)

    Album ID.


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

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

#group_idInteger

Returns ID of the community where the album is located.;.

Returns:

  • (Integer)

    ID of the community where the album is located.;


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

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