Aura.Model.Common (Aura v0.9.0)

View Source

Module covering functions common to all Aura Models

Summary

Types

URL with human-readable package/release documentation

URL with human-readable package/release information

UTC DateTime for when the record was inserted into the database

UTC DateTime for when the record was last modified in the database

The URL required to perform operations on this record

Functions

Cleans and validates a map into something Aura models can easily build

Types

docs_html_url()

@type docs_html_url() :: URI.t()

URL with human-readable package/release documentation

html_url()

@type html_url() :: URI.t()

URL with human-readable package/release information

inserted_at()

@type inserted_at() :: DateTime.t()

UTC DateTime for when the record was inserted into the database

updated_at()

@type updated_at() :: DateTime.t()

UTC DateTime for when the record was last modified in the database

url()

@type url() :: URI.t()

The URL required to perform operations on this record

Functions

prepare(m)

@spec prepare(m :: map()) :: list()

Cleans and validates a map into something Aura models can easily build