module LeanTesting

Represents an API Request definition.

An APIRequest's parameters can be modified on demand and can be executed multiple times for the same instance.

Represents a single Entity. All remote responses are decoded and parsed into one or more Entities.

An EntityHandler is the equivalent of a method centralizer for a corresponding endpoint (such as /v1/entities).

Functional naming conventions and equivalents:

create(fields)      <=>  `Create a new Entity`
all(fields)         <=>  `List all Entities`
find(id)            <=>  `Retrieve an existing Entity`
delete(id)          <=>  `Delete an Entity`
update(id, fields)  <=>  `Update an Entity`

An EntityList is a list of Entity objects, obtained from compiling the results of an all() call.

Handler to manage general authentication routines

leantesting.com/en/api-docs#oauth-flow