EctoEnum v1.4.0 API Reference

Modules

Provides defenum/2 and defenum/3 macro for defining an Enum Ecto type

This module can be used to create an Ecto Enum

Helper for generating enum typespecs

Sample enum-containing module for testing type generation. Types aren't generated for dynamically generated modules that eunit uses, so we have to prepare this module in advance