View Source StepFlow.Artifacts (StepFlow v1.8.0)

The Artifacts context.

Summary

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{}}