Class: Vk::API::Users::School

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

Overview

Instance Method Summary collapse

Instance Method Details

#cityInteger

Returns City ID.

Returns:

  • (Integer)

    City ID



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

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

#classString

Returns School class letter.

Returns:

  • (String)

    School class letter



25
# File 'lib/vk/api/users/school.rb', line 25

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

#countryInteger

Returns Country ID.

Returns:

  • (Integer)

    Country ID



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

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

#idString

Returns School ID.

Returns:

  • (String)

    School ID



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

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

#nameString

Returns School name.

Returns:

  • (String)

    School name



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

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

#typeInteger

Returns School type ID.

Returns:

  • (Integer)

    School type ID



27
# File 'lib/vk/api/users/school.rb', line 27

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

#type_strString

Returns School type name.

Returns:

  • (String)

    School type name



29
# File 'lib/vk/api/users/school.rb', line 29

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

#year_fromInteger

Returns Year the user started to study.

Returns:

  • (Integer)

    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)

#year_graduatedInteger

Returns Graduation year.

Returns:

  • (Integer)

    Graduation year



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

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

#year_toInteger

Returns Year the user finished to study.

Returns:

  • (Integer)

    Year the user finished to study



21
# File 'lib/vk/api/users/school.rb', line 21

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