Sha256: 27e4127883cb7a18c11254677683aea2ff16b3527a1982bb0bd8f135e5a1972c
Contents?: true
Size: 1.4 KB
Versions: 2
Compression:
Stored size: 1.4 KB
Contents
# frozen_string_literal: true require 'kovid/version' require 'kovid/request' module Kovid require 'kovid/helpers' 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 province(name) Kovid::Request.province(name) end def provinces(names) Kovid::Request.provinces(names) end def state(state) Kovid::Request.state(state) end def states(states) Kovid::Request.states(states) end def all_us_states Kovid::Request.all_us_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, days = 30) Kovid::Request.history(country, days) end def history_us_state(state, days = 30) Kovid::Request.history_us_state(state, days) 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.6.12 | lib/kovid.rb |
kovid-0.6.11 | lib/kovid.rb |