Class: Vk::API::Users::User

Inherits:
UserMin show all
Defined in:
lib/vk/api/users/user.rb

Overview

Direct Known Subclasses

UserFull, UserXtrType

Instance Method Summary collapse

Methods inherited from UserMin

#deactivated, #first_name, #hidden, #id, #last_name

Instance Method Details

#onlineInteger

Returns Information whether the user is online.

Returns:

  • (Integer)

    Information whether the user is online


19
# File 'lib/vk/api/users/user.rb', line 19

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

#photo_100String

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

Returns:

  • (String)

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


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

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

#photo_50String

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


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

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

#screen_nameString

Returns Domain name of the user's page.

Returns:

  • (String)

    Domain name of the user's page


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

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

#sexInteger

Returns User sex.

Returns:

  • (Integer)

    User sex


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

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