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

#id ⇒ Integer

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)

#name ⇒ String

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)

#type ⇒ String

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)