View Source ExOura.TypeDecoder (ex_oura v1.0.0)

Decode a response body based on types from the operation

Summary

Functions

decode_response(status, body, operation)

@spec decode_response(status :: pos_integer(), body :: term(), operation :: map()) ::
  {:ok, term()} | {:error, :unable_to_decode}