Chargebeex.ClientBehaviour behaviour (chargebeex v0.6.0)

View Source

Define the callbacks for a client to get the data from Chargebee.

Summary

Callbacks

get(url, body, headers)

@callback get(url :: binary(), body :: binary(), headers :: list()) ::
  {:ok, integer(), list(), any()} | {:error, integer(), list(), any()}

post(url, body, headers)

@callback post(url :: binary(), body :: binary(), headers :: list()) ::
  {:ok, integer(), list(), any()} | {:error, integer(), list(), any()}