Class: Vk::API::Users::UserLim

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

Overview

Instance Method Summary collapse

Instance Method Details

#id ⇒ Integer

Returns User ID.

Returns:

  • (Integer) —

    User ID



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

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

#name ⇒ String

Returns User name and last name.

Returns:

  • (String) —

    User name and last name



15
# File 'lib/vk/api/users/user_lim.rb', line 15

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

#name_gen ⇒ String

Returns User name in genitive declension.

Returns:

  • (String) —

    User name in genitive declension



17
# File 'lib/vk/api/users/user_lim.rb', line 17

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

#photo ⇒ String

Returns URL of square photo of the user with 50 pixels in width.

Returns:

  • (String) —

    URL of square photo of the user with 50 pixels in width



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

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