ecto_fsm v0.2.0 Ecto.FSM.Machine.State protocol View Source

Defines a protocol for get / set state name from a structure.

Link to this section Summary

Functions

Retrieve current state handlers from state object, return [Handler1,Handler2]

Set new state name

Retrieve current state name from state object

Link to this section Types

Link to this section Functions

Retrieve current state handlers from state object, return [Handler1,Handler2]

Link to this function

set_state_name(state, name) View Source

Set new state name

Retrieve current state name from state object