Sha256: 500fd74d8d91dd93d33c65e8970c0c52bac84913c3ca93088029dcdc545d3080

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Docs < Vk::Schema::Namespace
      module Methods
        # Saves a document after [https://vk.com/dev/upload_files_2?f=10.%2BUploading%2BDocuments|uploading it to a server].
        class Save < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'docs.save'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [String] :file This parameter is returned when the file is [https://vk.com/dev/upload_files_2?f=10.%2BUploading%2BDocuments|uploaded to the server].
          #   @option arguments [String] :title Document title.
          #   @option arguments [String] :tags Document tags.
          #   @return [Docs::Methods::Save]

          # @!group Arguments

          # @return [String] This parameter is returned when the file is [https://vk.com/dev/upload_files_2?f=10.%2BUploading%2BDocuments|uploaded to the server].
          attribute :file, API::Types::Coercible::String.optional
          # @return [String] Document title.
          attribute :title, API::Types::Coercible::String.optional
          # @return [String] Document tags.
          attribute :tags, API::Types::Coercible::String.optional
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/docs/methods/save.rb