Class: Vk::API::Friends::Requests

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/friends/requests.rb

Overview

Instance Method Summary collapse

Instance Method Details

#fromString

Returns ID of the user by whom friend has been suggested.

Returns:

  • (String)

    ID of the user by whom friend has been suggested


13
# File 'lib/vk/api/friends/requests.rb', line 13

attribute :from, API::Types::Coercible::String.optional.default(nil)

#mutualObject


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

attribute :mutual, API::Types::Coercible::Hash.optional.default(nil)

#user_idInteger

Returns User ID.

Returns:

  • (Integer)

    User ID


11
# File 'lib/vk/api/friends/requests.rb', line 11

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