Class: Vk::API::Base::Country

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/base/country.rb

Overview

Instance Method Summary collapse

Instance Method Details

#idInteger

Returns Country ID.

Returns:

  • (Integer)

    Country ID



11
# File 'lib/vk/api/base/country.rb', line 11

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

#titleString

Returns Country title.

Returns:

  • (String)

    Country title



13
# File 'lib/vk/api/base/country.rb', line 13

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