Class: Vk::API::Users::Occupation
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Users::Occupation
- Defined in:
- lib/vk/api/users/occupation.rb
Overview
Instance Method Summary collapse
-
#id ⇒ Integer
ID of school, university, company group.
-
#name ⇒ String
Name of occupation.
-
#type ⇒ String
Type of occupation.
Instance Method Details
#id ⇒ Integer
Returns 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) |