struct CoronaApi::Data

Included Modules

Defined in:

corona_api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def [](date : Time) : TimelineItem #

[View source]
def code : String #

[View source]
def coordinates : Coordinates #

[View source]
def latest_data : LatestData #

[View source]
def name : String #

[View source]
def population : Int32 #

[View source]
def timeline : Array(TimelineItem) #

[View source]
def today : Today #

[View source]
def updated_at : Time #

[View source]