Class: Vk::API::Users::Personal
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Users::Personal
- Defined in:
- lib/vk/api/users/personal.rb
Overview
Instance Method Summary collapse
-
#alcohol ⇒ Integer
User's views on alcohol.
-
#inspired_by ⇒ String
User's inspired by.
- #langs ⇒ Array
-
#life_main ⇒ Integer
User's personal priority in life.
-
#people_main ⇒ Integer
User's personal priority in people.
-
#political ⇒ Integer
User's political views.
-
#religion ⇒ String
User's religion.
-
#smoking ⇒ Integer
User's views on smoking.
Instance Method Details
#alcohol ⇒ Integer
Returns User's views on alcohol.
25 |
# File 'lib/vk/api/users/personal.rb', line 25 attribute :alcohol, API::Types::Coercible::Int.optional.default(nil) |
#inspired_by ⇒ String
Returns User's inspired by.
17 |
# File 'lib/vk/api/users/personal.rb', line 17 attribute :inspired_by, API::Types::Coercible::String.optional.default(nil) |
#langs ⇒ Array
13 |
# File 'lib/vk/api/users/personal.rb', line 13 attribute :langs, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#life_main ⇒ Integer
Returns User's personal priority in life.
21 |
# File 'lib/vk/api/users/personal.rb', line 21 attribute :life_main, API::Types::Coercible::Int.optional.default(nil) |
#people_main ⇒ Integer
Returns User's personal priority in people.
19 |
# File 'lib/vk/api/users/personal.rb', line 19 attribute :people_main, API::Types::Coercible::Int.optional.default(nil) |
#political ⇒ Integer
Returns User's political views.
11 |
# File 'lib/vk/api/users/personal.rb', line 11 attribute :political, API::Types::Coercible::Int.optional.default(nil) |