Class: Vk::API::Users::User
- Inherits:
-
UserMin
- Object
- Dry::Struct
- Schema::Object
- UserMin
- Vk::API::Users::User
- Defined in:
- lib/vk/api/users/user.rb
Overview
Direct Known Subclasses
Instance Method Summary collapse
-
#online ⇒ Integer
Information whether the user is online.
-
#photo_100 ⇒ String
URL of square photo of the user with 100 pixels in width.
-
#photo_50 ⇒ String
URL of square photo of the user with 50 pixels in width.
-
#screen_name ⇒ String
Domain name of the user's page.
-
#sex ⇒ Integer
User sex.
Methods inherited from UserMin
#deactivated, #first_name, #hidden, #id, #last_name
Instance Method Details
permalink #online ⇒ Integer
Returns 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) |
permalink #photo_100 ⇒ String
Returns 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) |
permalink #photo_50 ⇒ String
Returns 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) |
permalink #screen_name ⇒ String
Returns 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) |
permalink #sex ⇒ Integer
Returns User sex.
11 |
# File 'lib/vk/api/users/user.rb', line 11 attribute :sex, API::Types::Coercible::Int.optional.default(nil) |