Class: Vk::API::Docs::Methods::Delete

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

Overview

Deletes a user or community document.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

    ID of the user or community that owns the document. Use a negative value to designate a community ID.

  • :doc_id (Integer)

    Document ID.


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

Instance Method Details

#doc_idInteger

Returns Document ID.

Returns:

  • (Integer)

    Document ID.


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

attribute :doc_id, API::Types::Coercible::Int

#owner_idInteger

Returns ID of the user or community that owns the document. Use a negative value to designate a community ID.

Returns:

  • (Integer)

    ID of the user or community that owns the document. Use a negative value to designate a community ID.


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

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