Flickrex.Decoder behaviour (flickrex v0.8.1) View Source

Defines the specification for a REST decoder.

Link to this section Summary

Link to this section Types

Specs

data() :: String.t()

Specs

error_t() :: {:error, result()}

Specs

parse_error_t() :: {:error, :badarg}

Specs

result() :: map()

Specs

success_t() :: {:ok, result()}

Link to this section Callbacks