Class: Vk::API::Market::Methods::Restore

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

Overview

Restores recently deleted item

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    ID of an item owner community.

  • :item_id (Integer)

    Deleted item ID.



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

Instance Method Details

#item_idInteger

Returns Deleted item ID.

Returns:

  • (Integer)

    Deleted item ID.



26
# File 'lib/vk/api/market/methods/restore.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/restore.rb', line 24

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