Sha256: 4926471832c2d904af5285cd4a7551b85ed5899f07d219b61bdce927cb90250e

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

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

module Vk
  module API
    class Docs < Vk::Schema::Namespace
      module Methods
        # Deletes a user or community document.
        class Delete < Schema::Method
          # @!group Properties

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

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :owner_id ID of the user or community that owns the document. Use a negative value to designate a community ID.
          #   @option arguments [Integer] :doc_id Document ID.
          #   @return [Docs::Methods::Delete]

          # @!group Arguments

          # @return [Integer] ID of the user or community that owns the document. Use a negative value to designate a community ID.
          attribute :owner_id, API::Types::Coercible::Int.optional
          # @return [Integer] Document ID.
          attribute :doc_id, API::Types::Coercible::Int.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/delete.rb