Sha256: 73eb26a55abd3a7ec0ca54d96e1ae906b787976d32882d3a2cbd8e0f94cc17a7

Contents?: true

Size: 733 Bytes

Versions: 10

Compression:

Stored size: 733 Bytes

Contents

# frozen_string_literal: true

require 'kovid/version'
require 'kovid/request'

module Kovid
  class Error < StandardError; end

  module_function

  def eu_aggregate
    Kovid::Request.eu_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 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
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
kovid-0.3.13 lib/kovid.rb
kovid-0.3.12 lib/kovid.rb
kovid-0.3.11 lib/kovid.rb
kovid-0.3.10 lib/kovid.rb
kovid-0.3.9 lib/kovid.rb
kovid-0.3.8 lib/kovid.rb
kovid-0.3.7 lib/kovid.rb
kovid-0.3.6 lib/kovid.rb
kovid-0.3.4 lib/kovid.rb
kovid-0.3.3 lib/kovid.rb