class Hithorizons::Countries
Constants
- LIST
Public Class Methods
find_by_iso3(iso3)
click to toggle source
# File lib/hithorizons/countries.rb, line 64 def self.find_by_iso3(iso3) LIST.find { |country| country.iso3 == iso3 } end
find_by_name(country_name)
click to toggle source
# File lib/hithorizons/countries.rb, line 68 def self.find_by_name(country_name) LIST.find { |country| country.name == country_name } end