Class: Covid19::News
- Inherits:
-
BaseResource
- Object
- BaseResource
- Covid19::News
- Defined in:
- lib/covid19/lib/news.rb
Class Method Summary collapse
Methods inherited from BaseResource
Methods included from Presenters
Class Method Details
.by_country(country:) ⇒ Object
9 10 11 |
# File 'lib/covid19/lib/news.rb', line 9 def self.by_country(country:) raise 'NotYetImplementedError::News' end |
.retrieve(**options) ⇒ Object
5 6 7 |
# File 'lib/covid19/lib/news.rb', line 5 def self.retrieve(**) present_as_json(repository.retrieve()) end |