Class: Inttegro::Shared::CountrySpecifications
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Shared::CountrySpecifications
- Defined in:
- lib/inttegro/shared/country_specifications.rb
Overview
Typed representation of the country specifications object in the Inttegro API.
This generated model is immutable. Construct it with .new, or decode a string-keyed API
payload with .from_hash. #serialize produces a string-keyed hash using the original wire
field names and serialized enum values.
Instance Attribute Summary collapse
-
#countries ⇒ Hash{String => Inttegro::Shared::CountrySpecification}
readonly
Country specifications keyed by country code.
Instance Attribute Details
#countries ⇒ Hash{String => Inttegro::Shared::CountrySpecification} (readonly)
Country specifications keyed by country code.
Required in the API payload. Wire name: countries.
24 25 26 |
# File 'lib/inttegro/shared/country_specifications.rb', line 24 class CountrySpecifications < T::Struct const :countries, T::Hash[String, Inttegro::Shared::CountrySpecification] end |