Class: LibTAD::Places::Place
- Inherits:
-
Object
- Object
- LibTAD::Places::Place
- Defined in:
- lib/types/places/place.rb
Overview
Information about a place.
Instance Attribute Summary collapse
-
#geo ⇒ Geo
readonly
Geographical information about the location.
-
#id ⇒ String
readonly
Numerical ID of the referenced place.
-
#urlid ⇒ String
readonly
Textual ID of the referenced place.
Instance Method Summary collapse
-
#initialize(hash) ⇒ Place
constructor
A new instance of Place.
Constructor Details
Instance Attribute Details
#geo ⇒ Geo (readonly)
Geographical information about the location.
15 16 17 |
# File 'lib/types/places/place.rb', line 15 def geo @geo end |
#id ⇒ String (readonly)
Numerical ID of the referenced place.
7 8 9 |
# File 'lib/types/places/place.rb', line 7 def id @id end |
#urlid ⇒ String (readonly)
Textual ID of the referenced place.
11 12 13 |
# File 'lib/types/places/place.rb', line 11 def urlid @urlid end |