Crosswake.Bridge.Denial (crosswake v0.1.0)

View Source

Typed denial reply payload for bounded bridge requests.

Summary

Types

t()

@type t() :: %Crosswake.Bridge.Denial{
  command: String.t(),
  correlation_id: String.t(),
  denial: Crosswake.Shell.Denial.t(),
  route_id: String.t()
}

Functions

from_request(request, denial)

@spec from_request(Crosswake.Bridge.Contract.Request.t(), Crosswake.Shell.Denial.t()) ::
  t()

new(attrs)

@spec new(keyword()) :: t()

to_map(denial)

@spec to_map(t()) :: map()