Class: Vk::API::Base::Place

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

Overview

Instance Method Summary collapse

Instance Method Details

#addressString

Returns Place address.

Returns:

  • (String)

    Place address


31
# File 'lib/vk/api/base/place.rb', line 31

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

#checkinsInteger

Returns Checkins number.

Returns:

  • (Integer)

    Checkins number


23
# File 'lib/vk/api/base/place.rb', line 23

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

#cityInteger

Returns City ID.

Returns:

  • (Integer)

    City ID


29
# File 'lib/vk/api/base/place.rb', line 29

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

#countryInteger

Returns Country ID.

Returns:

  • (Integer)

    Country ID


27
# File 'lib/vk/api/base/place.rb', line 27

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

#createdInteger

Returns Date of the place creation in Unixtime.

Returns:

  • (Integer)

    Date of the place creation in Unixtime


19
# File 'lib/vk/api/base/place.rb', line 19

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

#iconString

Returns URL of the place's icon.

Returns:

  • (String)

    URL of the place's icon


21
# File 'lib/vk/api/base/place.rb', line 21

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

#idInteger

Returns Place ID.

Returns:

  • (Integer)

    Place ID


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

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

#latitudeNumber

Returns Place latitude.

Returns:

  • (Number)

    Place latitude


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

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

#longitudeNumber

Returns Place longitude.

Returns:

  • (Number)

    Place longitude


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

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

#titleString

Returns Place title.

Returns:

  • (String)

    Place title


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

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

#typeString

Returns Place type.

Returns:

  • (String)

    Place type


25
# File 'lib/vk/api/base/place.rb', line 25

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