ExPersona (ex_persona v0.0.2) View Source
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.
Send a given ExPersona.Client.Operation to the API endpoint, raising if there's any error.
Make a request, producing a Stream for paginating results.
Link to this section Functions
Specs
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.
Specs
request!(ExPersona.Client.Operation.t()) :: struct()
Send a given ExPersona.Client.Operation to the API endpoint, raising if there's any error.
Specs
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.