procore v0.0.1 Procore

Makes requests using the HttpClient.

Link to this section Summary

Link to this section Functions

Link to this function child_spec(opts)
child_spec(list()) :: map()
Link to this function init(opts)
init(Keyword.t()) :: {:ok, term()}
Link to this function make_request(request)
make_request(Procore.Request.t()) ::
  %ResponseResult{parsed_body: term(), reply: term(), status_code: term()}
  | %ErrorResult{reason: term(), reply: term()}
  | ArgumentError

Raises an error if no endpoint is set.

Link to this function start_link(opts)
start_link(Keyword.t()) :: {:ok, pid()} | {:error, {:already_started, pid()}}