Sha256: 5e9e32ab85244246aeb5f1f6cb975044817387855cf6a5ba9b76fdd6945a49ed

Contents?: true

Size: 687 Bytes

Versions: 1

Compression:

Stored size: 687 Bytes

Contents

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

module Vk
  module API
    class Account < Vk::Schema::Namespace
      module Methods
        # Adds user to the banlist.
        class BanUser < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'account.banUser'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :user_id User ID.
          #   @return [Account::Methods::BanUser]

          # @!group Arguments

          # @return [Integer] User ID.
          attribute :user_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/account/methods/ban_user.rb