Class: Vk::API::Docs::Methods::GetUploadServer

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

Overview

Returns the server address for document upload.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

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

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    Community ID (if the document will be uploaded to the community).


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

Instance Method Details

#group_idInteger

Returns Community ID (if the document will be uploaded to the community).

Returns:

  • (Integer)

    Community ID (if the document will be uploaded to the community).


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

attribute :group_id, API::Types::Coercible::Int.optional.default(nil)