Humaans.Resources.RolePermission (Humaans v0.6.0)

Copy Markdown View Source

Representation of a Role Permission resource.

Summary

Types

t()

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

Functions

build(map_or_kwlist, opts \\ [])

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

new(data)