Class: Vk::API::Users::Relative

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/users/relative.rb

Overview

Instance Method Summary collapse

Instance Method Details

#id ⇒ Integer

Returns Relative ID.

Returns:

  • (Integer) —

    Relative ID



11
# File 'lib/vk/api/users/relative.rb', line 11

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

#type ⇒ String

Returns Relative type.

Returns:

  • (String) —

    Relative type



13
# File 'lib/vk/api/users/relative.rb', line 13

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