class CrystalWeather::Types::Current

Defined in:

types/current.cr

Constructors

Instance Method Summary

Constructor Detail

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

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


[View source]

Instance Method Detail

def city : City #

City where the weather conditions applies


[View source]
def conditions : Conditions #

Details of the weather conditions


[View source]