Module sumo_rest_doc

Implement this behavior on your entities so the handlers can properly [un]marshall them.

This module defines the sumo_rest_doc behaviour.
Required callback functions: to_json/1, from_json/1, update/2, location/2.
Optional callback functions: id/1, from_json/2.

Description

Implement this behavior on your entities so the handlers can properly [un]marshall them.

Data Types

entity()

entity() = sumo:user_doc()

path()

path() = string()

reason()

reason() = iodata()


Generated by EDoc, Sep 14 2016, 05:42:50.