NAME

JSONAPI::Document::Builder - Resource Document builder

VERSION

version 2.4

DESCRIPTION

Builds a resource document.

build : HashRef

Main caller method; Builds the resource document for row.

build_relationship(Str $relationship, ArrayRef $fields, HashRef $options?) : HashRef

Builds the related resource document for the given relationship.