Class: Vk::API::Database::Methods::GetUniversities
- Inherits:
-
Schema::Method
- Object
- Dry::Struct
- Schema::Method
- Vk::API::Database::Methods::GetUniversities
- Defined in:
- lib/vk/api/database/methods/get_universities.rb
Overview
Returns a list of higher education institutions.
Arguments collapse
-
#city_id ⇒ Integer
City ID.
-
#count ⇒ Integer
Number of universities to return.
-
#country_id ⇒ Integer
Country ID.
-
#offset ⇒ Integer
Offset needed to return a specific subset of universities.
-
#q ⇒ String
Search query.
Instance Method Summary collapse
Methods inherited from Schema::Method
Constructor Details
#initialize(arguments) ⇒ Database::Methods::GetUniversities
|
# File 'lib/vk/api/database/methods/get_universities.rb', line 15
|
Instance Method Details
#city_id ⇒ Integer
Returns City ID.
31 |
# File 'lib/vk/api/database/methods/get_universities.rb', line 31 attribute :city_id, API::Types::Coercible::Int.optional.default(nil) |
#count ⇒ Integer
Returns Number of universities to return.
35 |
# File 'lib/vk/api/database/methods/get_universities.rb', line 35 attribute :count, API::Types::Coercible::Int.optional.default(100) |
#country_id ⇒ Integer
Returns Country ID.
29 |
# File 'lib/vk/api/database/methods/get_universities.rb', line 29 attribute :country_id, API::Types::Coercible::Int.optional.default(nil) |