Class: Vk::API::Users::Occupation

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

Overview

Instance Method Summary collapse

Instance Method Details

#idInteger

Returns ID of school, university, company group.

Returns:

  • (Integer)

    ID of school, university, company group


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

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

#nameString

Returns Name of occupation.

Returns:

  • (String)

    Name of occupation


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

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

#typeString

Returns Type of occupation.

Returns:

  • (String)

    Type of occupation


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

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