Class: Vk::API::Database::City
- Inherits:
-
Base::Object
- Object
- Dry::Struct
- Schema::Object
- Base::Object
- Vk::API::Database::City
- Defined in:
- lib/vk/api/database/city.rb
Overview
Instance Method Summary collapse
-
#area ⇒ String
Area title.
-
#important ⇒ API::Base::BoolInt
Information whether the city is included in important cities list.
-
#region ⇒ String
Region title.
Methods inherited from Base::Object
Instance Method Details
#area ⇒ String
Returns Area title.
11 |
# File 'lib/vk/api/database/city.rb', line 11 attribute :area, API::Types::Coercible::String.optional.default(nil) |
#important ⇒ API::Base::BoolInt
Returns 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) |