EasyPost (ex_easypost v3.0.4)

Link to this section Summary

Functions

Send an HTTP request to the EasyPost API.

Link to this section Types

Link to this type

http_headers_t()

@type http_headers_t() :: [{String.t(), String.t()}]
Link to this type

http_method_t()

@type http_method_t() :: :delete | :get | :post | :put
Link to this type

response_t()

@type response_t() ::
  {:ok, EasyPost.Response.t()} | {:error, EasyPost.Response.t() | any()}

Link to this section Functions

Link to this function

request(operation, config)

@spec request(EasyPost.Operation.t(), map()) :: response_t()

Send an HTTP request to the EasyPost API.