Skip to content

Commit

Permalink
Add moduledoc for Machinist.Transition
Browse files Browse the repository at this point in the history
  • Loading branch information
norbajunior committed Apr 3, 2021
1 parent 0b10f8f commit 53d431b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/machinist/transition.ex
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
defmodule Machinist.Transition do
@moduledoc """
`Machinist.Transition` module behaviour
"""
@callback transit(struct(), event: String.t()) ::
{:ok, struct()} | {:error, :not_allowed}
end

0 comments on commit 53d431b

Please sign in to comment.