Class: Vk::API::Users::UserLim
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Users::UserLim
- Defined in:
- lib/vk/api/users/user_lim.rb
Overview
Instance Method Summary collapse
-
#id ⇒ Integer
User ID.
-
#name ⇒ String
User name and last name.
-
#name_gen ⇒ String
User name in genitive declension.
-
#photo ⇒ String
URL of square photo of the user with 50 pixels in width.
Instance Method Details
#id ⇒ Integer
Returns 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.
15 |
# File 'lib/vk/api/users/user_lim.rb', line 15 attribute :name, API::Types::Coercible::String.optional.default(nil) |