class CrystalWeather::Types::Coordinates

Overview

Coordinates represents the coordinates of a specific location

Defined in:

types/misc.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : JSON::Any) #

Creates a new Coordinates object based on the data sent by the API


[View source]

Instance Method Detail

def latitude : Float64 #

Location's latitude


[View source]
def longitude : Float64 #

Location's longitude


[View source]