simple_ecto_state_machine v0.1.0 API Reference

Modules

A simple state machine for Ecto Models. It works on the changeset of the model when the changeset is updated. When a state machine is used inside and Ecto model, a function of the form validate_{field}_update(changeset) is defined in the model, ready to test the changeset when is updated