StepFlow.Artifacts (StepFlow v0.2.5) View Source

The Artifacts context.

Link to this section Summary

Link to this section Functions

Link to this function

create_artifact(attrs \\ %{})

View Source

Creates an artifact.

Examples

iex> create_artifact(%{field: value})
{:ok, %Artifact{}}

iex> create_artifact(%{field: bad_value})
{:error, %Ecto.Changeset{}}