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