DocuSign.RequestBuilder.decode
You're seeing just the function
decode
, go back to DocuSign.RequestBuilder module for more information.
Specs
decode(Tesla.Env.t() | term()) :: {:ok, struct()} | {:error, Tesla.Env.t()} | {:error, term()}
Handle the response for a Tesla request
Parameters
- arg1 (Tesla.Env.t | term) - The response object
- arg2 (:false | struct | [struct]) - The shape of the struct to deserialize into
Returns
on success {:error, term} on failure
Specs
decode(Tesla.Env.t() | term(), false | struct() | [struct()]) :: {:ok, struct()} | {:error, Tesla.Env.t()} | {:error, term()}