Sha256: 2f5d0c6d4ffc727ce3be2f3b54d9396fec2ddbe7e9f9111e7d45a29ab475e84c
Contents?: true
Size: 751 Bytes
Versions: 2
Compression:
Stored size: 751 Bytes
Contents
module Loqate module Geocoding # A result from the API call to find the nearest places. class Place < Dry::Struct::Value # The postcode that is nearest to the given location. # # @return [String] # attribute :location, Types::Strict::String # The distance in KM from the CentrePoint to this record. # # @return [Float] # attribute :distance, Types::Coercible::Float # The WGS84 latitude coordinate of the location. # # @return [Float] # attribute :latitude, Types::Coercible::Float # The WGS84 longitude coordinate of the location. # # @return [Float] # attribute :longitude, Types::Coercible::Float end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
loqate-0.10.1 | lib/loqate/geocoding/place.rb |
loqate-0.10.0 | lib/loqate/geocoding/place.rb |