Class: Vk::API::Market::Methods::RemoveFromAlbum

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

Overview

Removes an item from one or multiple collections.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    ID of an item owner community.

  • :item_id (Integer)

    Item ID.

  • :album_ids (Array)

    Collections IDs to remove item from.



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

Instance Method Details

#album_idsArray

Returns Collections IDs to remove item from.

Returns:

  • (Array)

    Collections IDs to remove item from.



29
# File 'lib/vk/api/market/methods/remove_from_album.rb', line 29

attribute :album_ids, API::Types::Coercible::Array.member(API::Types::Coercible::Int)

#item_idInteger

Returns Item ID.

Returns:

  • (Integer)

    Item ID.



27
# File 'lib/vk/api/market/methods/remove_from_album.rb', line 27

attribute :item_id, API::Types::Coercible::Int

#owner_idInteger

Returns ID of an item owner community.

Returns:

  • (Integer)

    ID of an item owner community.



25
# File 'lib/vk/api/market/methods/remove_from_album.rb', line 25

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