From c1d8e953116ec290e7c2cb3dabe6efbe4dd0b54e Mon Sep 17 00:00:00 2001 From: Lucas Hosseini Date: Thu, 24 Sep 2015 01:11:20 +0200 Subject: [PATCH] Fix docs. --- docs/general/configuration_options.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/general/configuration_options.md b/docs/general/configuration_options.md index 697d63d03..46465f062 100644 --- a/docs/general/configuration_options.md +++ b/docs/general/configuration_options.md @@ -9,10 +9,10 @@ The following configuration options can be set on `ActiveModel::Serializer.confi ## JSON API - `jsonapi_resource_type`: Whether the `type` attributes of resources should be singular or plural. Possible values: `:singular, :plural`. Default: `:plural`. -- `jsonapi_include_toplevel_member`: Whether to include a [top level JSON API member](http://jsonapi.org/format/#document-jsonapi-object) +- `jsonapi_include_toplevel_object`: Whether to include a [top level JSON API member](http://jsonapi.org/format/#document-jsonapi-object) in the response document. Default: `false`. -- Used when `jsonapi_include_toplevel_member` is `true`: +- Used when `jsonapi_include_toplevel_object` is `true`: - `jsonapi_version`: The latest version of the spec the API conforms to. Default: `'1.0'`. - `jsonapi_toplevel_meta`: Optional metadata. Not included if empty.