Sha256: a06a3e79be08160752fdc30ad65a4f53aabab04a268772995693cfc428771d4c
Contents?: true
Size: 1.15 KB
Versions: 2
Compression:
Stored size: 1.15 KB
Contents
# frozen_string_literal: true require 'kovid/version' require 'kovid/request' module Kovid require 'kovid/helpers' class Error < StandardError; end module_function def eu_aggregate Kovid::Request.eu_aggregate end def europe_aggregate Kovid::Request.europe_aggregate end def africa_aggregate Kovid::Request.africa_aggregate end def south_america_aggregate Kovid::Request.south_america_aggregate end def asia_aggregate Kovid::Request.asia_aggregate end def country(name) Kovid::Request.by_country(name) end def country_full(name) Kovid::Request.by_country_full(name) end def state(state) Kovid::Request.state(state) end def states(states) Kovid::Request.states(states) end def country_comparison(names_array) Kovid::Request.by_country_comparison(names_array) end def country_comparison_full(names_array) Kovid::Request.by_country_comparison_full(names_array) end def cases Kovid::Request.cases end def history(country, last) Kovid::Request.history(country, last) end def histogram(country, date) Kovid::Request.histogram(country, date) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kovid-0.5.2 | lib/kovid.rb |
kovid-0.5.0 | lib/kovid.rb |