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