Class: Loqate::Geocoding::Location
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Loqate::Geocoding::Location
- Defined in:
- lib/loqate/geocoding/location.rb
Overview
A result from the geocode API call.
Instance Method Summary collapse
-
#latitude ⇒ Float
The WGS84 latitude of the found location.
-
#longitude ⇒ Float
The WGS84 longitude of the found location.
-
#name ⇒ String
The name of the location found.
Instance Method Details
#latitude ⇒ Float
The WGS84 latitude of the found location.
15 |
# File 'lib/loqate/geocoding/location.rb', line 15 attribute :latitude, Types::Strict::Float |
#longitude ⇒ Float
The WGS84 longitude of the found location.
21 |
# File 'lib/loqate/geocoding/location.rb', line 21 attribute :longitude, Types::Strict::Float |
#name ⇒ String
The name of the location found.
9 |
# File 'lib/loqate/geocoding/location.rb', line 9 attribute :name, Types::Strict::String |