Closed beauby closed 7 years ago
JSONAPI::Renderer::ResourcesProcessor
SuccessDocument
ErrorDocument
JSONAPI.render
data
JSONAPI.render_errors(errors, params)
JSONAPI.render(errors: errors, params)
JSONAPI::Renderer::ResourcesProcessor
.SuccessDocument
andErrorDocument
.JSONAPI.render
takes a named parameterdata
instead of a first parameter for resources.JSONAPI.render_errors(errors, params)
is replaced byJSONAPI.render(errors: errors, params)
.