Arke.Core.Parameter.Boolean (Arke v0.1.5)

Module that define the struct of a Boolean by extending the Arke.Core.Parameter.base_parameters()

{arke_struct} = Parameter.Boolean

element-added

Element added

  • default => Boolean => default value

example

Example

iex> params = [id: :boolean_test, default: false]
...> Arke.Core.Parameter.Boolean(%{type: :boolean, opts: params})

return

Return

%Arke.Core.Parameter.Boolean{}

Link to this section Summary

Link to this section Functions

Link to this function

arke_from_attr()

Link to this function

base_parameters()

Link to this function

before_create(arke, unit)

Link to this function

before_delete(arke, unit)

Link to this function

before_load(data, persistence_fn)

Link to this function

before_update(arke, unit)

Link to this function

before_validate(arke, unit)

Link to this function

groups_from_attr()

Link to this function

on_create(arke, unit)

Link to this function

on_delete(arke, unit)

Link to this function

on_load(data, persistence_fn)

Link to this function

on_struct_encode(unit, _)

Link to this function

on_update(arke, unit)

Link to this function

on_validate(arke, unit)