Class: Vk::API::Docs::Methods::GetTypes

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

Overview

Returns documents types available for current user.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :owner_id (Integer)

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



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

Instance Method Details

#owner_idInteger

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

Returns:

  • (Integer)

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



23
# File 'lib/vk/api/docs/methods/get_types.rb', line 23

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