ex_easypost v2.0.0 ExEasyPost.Operation
An operation to perform against the EasyPost API.
This module is generally not used directly, rather is constructed by an EasyPost resource.
ExEasyPost works by using an ExEasyPost.Operation
datastructure to describe
the action to be taken. The operation can then be passed to perform/2
to
for execution.
Example
%ExEasyPost.Operation{ http_method: :post, params: %{ tracker: %{ carrier: “USPS”, tracking_code: “9400110898825022579493” } }, path: “trackers” } |> ExEasyPost.request()