Class: Vk::API::Database::Methods::GetCountriesById

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/database/methods/get_countries_by_id.rb

Overview

Returns information about countries by their IDs.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Database::Methods::GetCountriesById

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :country_ids (Array)

    Country IDs.



# File 'lib/vk/api/database/methods/get_countries_by_id.rb', line 15

Instance Method Details

#country_idsArray

Returns Country IDs.

Returns:

  • (Array)

    Country IDs.



23
# File 'lib/vk/api/database/methods/get_countries_by_id.rb', line 23

attribute :country_ids, API::Types::Coercible::Array.member(API::Types::Coercible::Int).constrained(max_size: 1000).optional.default(nil)