Class: Datasets::Geolonia
Defined Under Namespace
Classes: Record
Instance Attribute Summary
Attributes inherited from Dataset
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize ⇒ Geolonia
constructor
A new instance of Geolonia.
Methods inherited from Dataset
Constructor Details
#initialize ⇒ Geolonia
Returns a new instance of Geolonia.
22 23 24 25 26 27 28 29 30 31 |
# File 'lib/datasets/geolonia.rb', line 22 def initialize super @metadata.id = 'geolonia' @metadata.name = 'Geolonia' @metadata.url = 'https://github.com/geolonia/japanese-addresses' @metadata.licenses = ["CC-BY-4.0"] @metadata.description = lambda do fetch_readme end end |