shippo v0.1.0 Shippo.Operation View Source

An Operation represents an API request as a struct.

Link to this section Summary

Functions

Returns a Operation with the given arguments.

Link to this section Types

Link to this type

t()

View Source
t() :: %Shippo.Operation{
  data: nil | term(),
  http_method: nil | atom(),
  opts: nil | keyword(),
  path: nil | binary()
}

Link to this section Functions

Link to this function

new(method, path, data \\ "", opts \\ [])

View Source

Returns a Operation with the given arguments.