Class: Vk::API::Database::City

Inherits:
Base::Object show all
Defined in:
lib/vk/api/database/city.rb

Overview

Instance Method Summary collapse

Methods inherited from Base::Object

#id, #title

Instance Method Details

#areaString

Returns Area title.

Returns:

  • (String)

    Area title


11
# File 'lib/vk/api/database/city.rb', line 11

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

#importantAPI::Base::BoolInt

Returns Information whether the city is included in important cities list.

Returns:

  • (API::Base::BoolInt)

    Information whether the city is included in important cities list


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

attribute :important, API::Base::BoolInt.optional.default(nil)

#regionString

Returns Region title.

Returns:

  • (String)

    Region title


13
# File 'lib/vk/api/database/city.rb', line 13

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