ash v0.1.3 Ash.Resource.Actions.Destroy View Source

The representation of a destroy action

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Ash.Resource.Actions.Destroy{
  name: atom(),
  primary?: boolean(),
  type: :destroy
}

Link to this section Functions

Link to this function

new(resource, name, opts \\ [])

View Source
new(Ash.resource(), atom(), Keyword.t()) :: {:ok, t()} | {:error, term()}