Class: Vk::API::Photos::Methods::DeleteAlbum

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

Overview

Deletes a photo album belonging to the current user.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :album_id (Integer)

    Album ID.

  • :group_id (Integer)

    ID of the community that owns the album.


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

Instance Method Details

#album_idInteger

Returns Album ID.

Returns:

  • (Integer)

    Album ID.


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

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

#group_idInteger

Returns ID of the community that owns the album.

Returns:

  • (Integer)

    ID of the community that owns the album.


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

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