Class: Vk::API::Friends::Methods::Delete

Inherits:
Schema::Method show all
Defined in:
lib/vk/api/friends/methods/delete.rb

Overview

Declines a friend request or deletes a user from the current user's friend list.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Friends::Methods::Delete

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :user_id (Integer)

    ID of the user whose friend request is to be declined or who is to be deleted from the current user's friend list.



# File 'lib/vk/api/friends/methods/delete.rb', line 15

Instance Method Details

#user_idInteger

Returns ID of the user whose friend request is to be declined or who is to be deleted from the current user's friend list.

Returns:

  • (Integer)

    ID of the user whose friend request is to be declined or who is to be deleted from the current user's friend list.



23
# File 'lib/vk/api/friends/methods/delete.rb', line 23

attribute :user_id, API::Types::Coercible::Int