Isn.EAN13
Definition for the ean13 module.
How to use this in an Ecto.Model
defmodule MyApp.Book do
use MyApp.Web, :model
schema "books" do
field :ean13, Isn.EAN13
# other fields
end
end
Summary
Callback implementation for c:Ecto.Type.cast/1
Callback implementation for c:Ecto.Type.dump/1
Callback implementation for c:Ecto.Type.load/1
Callback implementation for c:Ecto.Type.type/0
Functions
Callback implementation for c:Ecto.Type.cast/1
.
Callback implementation for c:Ecto.Type.dump/1
.
Callback implementation for c:Ecto.Type.load/1
.
Callback implementation for c:Ecto.Type.type/0
.