Class: Vk::API::Market::Methods::Delete

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

Overview

Deletes an item.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    ID of an item owner community.

  • :item_id (Integer)

    Item ID.


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

Instance Method Details

#item_idInteger

Returns Item ID.

Returns:

  • (Integer)

    Item ID.


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

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

#owner_idInteger

Returns ID of an item owner community.

Returns:

  • (Integer)

    ID of an item owner community.


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

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