Sha256: 8b9c332455f9dd6ab3bc9bc366893c6b668855d1c989d3be3a76dd04bd0e6307
Contents?: true
Size: 262 Bytes
Versions: 5
Compression:
Stored size: 262 Bytes
Contents
# frozen_string_literal: true require 'csv' require_relative 'model' require_relative '../../app' class Db @countries = nil def countries @countries ||= fetch_all_countries end private def fetch_all_countries App.db.all(Country) end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
avs-0.1.3 | lib/domain/country/db.rb |
avs-0.1.2 | lib/domain/country/db.rb |
avs-0.1.1 | lib/domain/country/db.rb |
avs-0.1.0 | lib/domain/country/db.rb |
avs-0.0.9 | lib/domain/country/db.rb |