Sha256: 07b84d1d1b3f85535a23452d92b4f9679868094d066deeaca1e9cb34c38c7a21
Contents?: true
Size: 744 Bytes
Versions: 6
Compression:
Stored size: 744 Bytes
Contents
module Loqate module Geocoding # A result from the API call to find the nearest places. class Place < Dry::Struct # 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
6 entries across 6 versions & 1 rubygems