Class: Vk::API::Users::Personal

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

Overview

Instance Method Summary collapse

Instance Method Details

#alcoholInteger

Returns User's views on alcohol.

Returns:

  • (Integer)

    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_byString

Returns User's inspired by.

Returns:

  • (String)

    User's inspired by


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

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

#langsArray


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_mainInteger

Returns User's personal priority in life.

Returns:

  • (Integer)

    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_mainInteger

Returns User's personal priority in people.

Returns:

  • (Integer)

    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)

#politicalInteger

Returns User's political views.

Returns:

  • (Integer)

    User's political views


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

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

#religionString

Returns User's religion.

Returns:

  • (String)

    User's religion


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

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

#smokingInteger

Returns User's views on smoking.

Returns:

  • (Integer)

    User's views on smoking


23
# File 'lib/vk/api/users/personal.rb', line 23

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