Humaans.Resources.Role (Humaans v0.6.0)

Copy Markdown View Source

Representation of a Role resource.

Summary

Types

t()

@type t() :: %Humaans.Resources.Role{id: binary() | nil, name: binary() | nil}

Functions

build(map_or_kwlist, opts \\ [])

@spec build(ExConstructor.map_or_kwlist(), Keyword.t()) :: %Humaans.Resources.Role{
  id: term(),
  name: term()
}

new(data)