class

ISOCodes::Countries

Inherits JSON::Serializable / Reference / Object

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

find_by_alpha_2(value : String) : Country | Nil
Source
find_by_alpha_3(value : String) : Country | Nil
Source
find_by_common_name(value : String) : Country | Nil
Source
find_by_flag(value : String) : Country | Nil
Source
find_by_name(value : String) : Country | Nil
Source
find_by_numeric(value : String) : Country | Nil
Source
find_by_official_name(value : String) : Country | Nil
Source

Macros

method_missing(call)
Source