Class: Vk::API::Places::Types

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/places/types.rb

Overview

Instance Method Summary collapse

Instance Method Details

#iconString

Returns URL of the place's icon.

Returns:

  • (String)

    URL of the place's icon


15
# File 'lib/vk/api/places/types.rb', line 15

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

#idInteger

Returns Place type ID.

Returns:

  • (Integer)

    Place type ID


11
# File 'lib/vk/api/places/types.rb', line 11

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

#titleInteger

Returns Place type title.

Returns:

  • (Integer)

    Place type title


13
# File 'lib/vk/api/places/types.rb', line 13

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