Nombaone. Response
(Nomba One v0.1.0)
View Source
The full result of a call, returned when you pass with_response: true as a
per-call option. data is exactly what you would otherwise receive; the rest
is transport metadata — the request_id to quote to support, the HTTP
status, and the raw response headers (rate-limit info and friends).
{:ok, %Nombaone.Response{data: customer, request_id: id}} =
Nombaone.Customers.retrieve(client, customer_id, with_response: true)
Summary
Types
@type t() :: %Nombaone.Response{ data: term(), headers: [{String.t(), String.t()}], request_id: String.t(), status: non_neg_integer() }