DS.JSONSerializer#extractRelationship()

extractRelationship (relationshipModelName, relationshipHash) Object

Defined in addon/serializers/json.js:588

Returns a relationship formatted as a JSON-API "relationship object".

http://jsonapi.org/format/#document-resource-object-relationships

Parameters:

relationshipModelName Object
relationshipHash Object

Returns:

Object
doc_EmberJs
2016-11-30 16:49:49
Comments
Leave a Comment

Please login to continue.