extractRelationships (modelClass, resourceHash) Object
Returns the resource's relationships formatted as a JSON-API "relationships object".
http://jsonapi.org/format/#document-resource-object-relationships
Parameters:
-
modelClass
Object
-
resourceHash
Object
Returns:
-
Object
Please login to continue.