Class: Loqate::Geocoding::Country
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Loqate::Geocoding::Country
- Defined in:
- lib/loqate/geocoding/country.rb
Overview
A result from the position to country API call.
Instance Method Summary collapse
-
#country_iso2 ⇒ String
The ISO2 of the country.
-
#country_iso3 ⇒ String
The ISO3 of the country.
-
#country_iso_number ⇒ Integer
The ISO number of the country.
-
#country_name ⇒ String
The name of the country where the position belongs to.
Instance Method Details
#country_iso2 ⇒ String
The ISO2 of the country.
15 |
# File 'lib/loqate/geocoding/country.rb', line 15 attribute :country_iso2, Types::Strict::String |
#country_iso3 ⇒ String
The ISO3 of the country.
21 |
# File 'lib/loqate/geocoding/country.rb', line 21 attribute :country_iso3, Types::Strict::String |
#country_iso_number ⇒ Integer
The ISO number of the country.
27 |
# File 'lib/loqate/geocoding/country.rb', line 27 attribute :country_iso_number, Types::Strict::Integer |
#country_name ⇒ String
The name of the country where the position belongs to.
9 |
# File 'lib/loqate/geocoding/country.rb', line 9 attribute :country_name, Types::Strict::String |