Brasilapi.Ibge.Region (BrasilAPI v1.0.1)

View Source

Struct representing a Brazilian region.

Summary

Functions

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

Types

t()

@type t() :: %Brasilapi.Ibge.Region{
  id: integer(),
  nome: String.t(),
  sigla: String.t()
}

Functions

from_map(map)

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

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