Brasilapi.Ibge.Municipality (BrasilAPI v1.0.1)

View Source

Struct representing a Brazilian municipality (município).

Summary

Functions

Creates a Municipality struct from a map. Supports both string and atom keys.

Types

t()

@type t() :: %Brasilapi.Ibge.Municipality{codigo_ibge: String.t(), nome: String.t()}

Functions

from_map(map)

@spec from_map(map()) :: t()

Creates a Municipality struct from a map. Supports both string and atom keys.