Class: Vk::API::Audio::Methods::EditAlbum

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

Overview

Edits the title of an audio album.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    ID of the community where the album is located.;

  • :album_id (Integer)

    Album ID.

  • :title (String)

    New album title.


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

Instance Method Details

#album_idInteger

Returns Album ID.

Returns:

  • (Integer)

    Album ID.


27
# File 'lib/vk/api/audio/methods/edit_album.rb', line 27

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.;


25
# File 'lib/vk/api/audio/methods/edit_album.rb', line 25

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

#titleString

Returns New album title.

Returns:

  • (String)

    New album title.


29
# File 'lib/vk/api/audio/methods/edit_album.rb', line 29

attribute :title, API::Types::Coercible::String