View Source ExPersona (ex_persona v1.0.0)
This is an Elixir library for interacting with the Persona platform.
It handles streaming paginated lists of inquiries and accounts, and allows you to interact with the API with only a thin layer of Elixiry abstraction.
Link to this section Summary
Functions
Send a given ExPersona.Client.Operation
to the API endpoint, raising if there's any error.
Send a given ExPersona.Client.Operation
to the API endpoint.
Make a request, producing a Stream
for paginating results.
Link to this section Functions
@spec request!(ExPersona.Client.Operation.t()) :: struct()
Send a given ExPersona.Client.Operation
to the API endpoint, raising if there's any error.
@spec request(ExPersona.Client.Operation.t()) :: ExPersona.Client.Parser.parsed_result()
Send a given ExPersona.Client.Operation
to the API endpoint.
This is the general entry point for all requests.
@spec stream!(ExPersona.Client.Operation.t()) :: Enumerable.t()
Make a request, producing a Stream
for paginating results.
Send a given ExPersona.Client.Operation
to the API endpoint with the expectation that the
ExPersona.Client.Operation
will produce a paginated result. Any errors will raise an
exception.