Class: Vk::API::Market::Methods::DeleteAlbum

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

Overview

Deletes a collection of items.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    ID of an collection owner community.

  • :album_id (Integer)

    Collection ID.



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

Instance Method Details

#album_idInteger

Returns Collection ID.

Returns:

  • (Integer)

    Collection ID.



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

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

#owner_idInteger

Returns ID of an collection owner community.

Returns:

  • (Integer)

    ID of an collection owner community.



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

attribute :owner_id, API::Types::Coercible::Int