Class: Vk::API::Users::School
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Users::School
- Defined in:
- lib/vk/api/users/school.rb
Overview
Instance Method Summary collapse
-
#city ⇒ Integer
City ID.
-
#class ⇒ String
School class letter.
-
#country ⇒ Integer
Country ID.
-
#id ⇒ String
School ID.
-
#name ⇒ String
School name.
-
#type ⇒ Integer
School type ID.
-
#type_str ⇒ String
School type name.
-
#year_from ⇒ Integer
Year the user started to study.
-
#year_graduated ⇒ Integer
Graduation year.
-
#year_to ⇒ Integer
Year the user finished to study.
Instance Method Details
#city ⇒ Integer
Returns City ID.
15 |
# File 'lib/vk/api/users/school.rb', line 15 attribute :city, API::Types::Coercible::Int.optional.default(nil) |
#class ⇒ String
Returns School class letter.
25 |
# File 'lib/vk/api/users/school.rb', line 25 attribute :class, API::Types::Coercible::String.optional.default(nil) |
#country ⇒ Integer
Returns Country ID.
13 |
# File 'lib/vk/api/users/school.rb', line 13 attribute :country, API::Types::Coercible::Int.optional.default(nil) |
#id ⇒ String
Returns School ID.
11 |
# File 'lib/vk/api/users/school.rb', line 11 attribute :id, API::Types::Coercible::String.optional.default(nil) |
#name ⇒ String
Returns School name.
17 |
# File 'lib/vk/api/users/school.rb', line 17 attribute :name, API::Types::Coercible::String.optional.default(nil) |
#type ⇒ Integer
Returns School type ID.
27 |
# File 'lib/vk/api/users/school.rb', line 27 attribute :type, API::Types::Coercible::Int.optional.default(nil) |
#type_str ⇒ String
Returns School type name.
29 |
# File 'lib/vk/api/users/school.rb', line 29 attribute :type_str, API::Types::Coercible::String.optional.default(nil) |
#year_from ⇒ Integer
Returns Year the user started to study.
19 |
# File 'lib/vk/api/users/school.rb', line 19 attribute :year_from, API::Types::Coercible::Int.optional.default(nil) |