View Source Census.Response (Census v0.3.0)

Struct representing an API response.

Link to this section Summary

Functions

Process a query and api response.

Link to this section Types

@type t() :: %Census.Response{query: Census.Query.t(), results: []}

Link to this section Functions

@spec decode(Census.Query.t(), map()) :: {:ok, t()} | {:error, String.t()}

Process a query and api response.