Class: Vk::API::Base::Geo

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

Overview

Instance Method Summary collapse

Instance Method Details

#coordinatesString

Returns String with coordinates.

Returns:

  • (String)

    String with coordinates



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

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

#placeAPI::Base::Place



15
# File 'lib/vk/api/base/geo.rb', line 15

attribute :place, Dry::Types[API::Base::Place].optional.default(nil)

#showmapInteger

Returns Information whether a map is showed.

Returns:

  • (Integer)

    Information whether a map is showed



17
# File 'lib/vk/api/base/geo.rb', line 17

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

#typeString

Returns Place type.

Returns:

  • (String)

    Place type



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

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