Sha256: 5df1c92b5ebaf80aede1a9cbf2a5facf69569d0758a4c926818ba5b0684bde5e
Contents?: true
Size: 239 Bytes
Versions: 5
Compression:
Stored size: 239 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require 'set' require_relative 'model' require_relative '../../app' class InsightVMApi def find_by_country_code(cc) App.db.countries.find { |country| country.code == cc } end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
avs-0.1.3 | lib/domain/country/api.rb |
avs-0.1.2 | lib/domain/country/api.rb |
avs-0.1.1 | lib/domain/country/api.rb |
avs-0.1.0 | lib/domain/country/api.rb |
avs-0.0.9 | lib/domain/country/api.rb |