Class: Vk::API::Places::PlaceFull
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Places::PlaceFull
- Defined in:
- lib/vk/api/places/place_full.rb
Overview
Instance Method Summary collapse
-
#address ⇒ String
Place address.
-
#checkins ⇒ Integer
Checkins number.
-
#city ⇒ Integer
City ID.
-
#country ⇒ Integer
Country ID.
-
#created ⇒ Integer
Date of the place creation in Unixtime.
-
#distance ⇒ Integer
Distance to the place.
-
#group_id ⇒ Integer
Community ID.
-
#group_photo ⇒ String
URL of the community's photo.
-
#icon ⇒ String
URL of the place's icon.
-
#id ⇒ Integer
Place ID.
-
#latitude ⇒ Number
Place latitude.
-
#longitude ⇒ Number
Place longitude.
-
#title ⇒ String
Place title.
-
#type ⇒ String
Place type.
Instance Method Details
#address ⇒ String
Returns Place address.
31 |
# File 'lib/vk/api/places/place_full.rb', line 31 attribute :address, API::Types::Coercible::String.optional.default(nil) |
#checkins ⇒ Integer
Returns Checkins number.
23 |
# File 'lib/vk/api/places/place_full.rb', line 23 attribute :checkins, API::Types::Coercible::Int.optional.default(nil) |
#city ⇒ Integer
Returns City ID.
29 |
# File 'lib/vk/api/places/place_full.rb', line 29 attribute :city, API::Types::Coercible::Int.optional.default(nil) |
#country ⇒ Integer
Returns Country ID.
27 |
# File 'lib/vk/api/places/place_full.rb', line 27 attribute :country, API::Types::Coercible::Int.optional.default(nil) |
#created ⇒ Integer
Returns Date of the place creation in Unixtime.
19 |
# File 'lib/vk/api/places/place_full.rb', line 19 attribute :created, API::Types::Coercible::Int.optional.default(nil) |
#distance ⇒ Integer
Returns Distance to the place.
33 |
# File 'lib/vk/api/places/place_full.rb', line 33 attribute :distance, API::Types::Coercible::Int.optional.default(nil) |
#group_id ⇒ Integer
Returns Community ID.
35 |
# File 'lib/vk/api/places/place_full.rb', line 35 attribute :group_id, API::Types::Coercible::Int.optional.default(nil) |
#group_photo ⇒ String
Returns URL of the community's photo.
37 |
# File 'lib/vk/api/places/place_full.rb', line 37 attribute :group_photo, API::Types::Coercible::String.optional.default(nil) |
#icon ⇒ String
Returns URL of the place's icon.
21 |
# File 'lib/vk/api/places/place_full.rb', line 21 attribute :icon, API::Types::Coercible::String.optional.default(nil) |
#id ⇒ Integer
Returns Place ID.
11 |
# File 'lib/vk/api/places/place_full.rb', line 11 attribute :id, API::Types::Coercible::Int.optional.default(nil) |
#latitude ⇒ Number
Returns Place latitude.
15 |
# File 'lib/vk/api/places/place_full.rb', line 15 attribute :latitude, API::Types::Coercible::Int.optional.default(nil) |
#longitude ⇒ Number
Returns Place longitude.
17 |
# File 'lib/vk/api/places/place_full.rb', line 17 attribute :longitude, API::Types::Coercible::Int.optional.default(nil) |