Sha256: f7cb9f050f1e3123975cbcf7d8605f91401160212d33d60f75a7dfb3ad24fa6d

Contents?: true

Size: 443 Bytes

Versions: 6

Compression:

Stored size: 443 Bytes

Contents

# Configuration Options

The following configuration options can be set on `ActiveModel::Serializer.config` inside an initializer.

## General

- `adapter`: The [adapter](adapters.md) to use. Possible values: `:flatten_json, :json, :json_api`. Default: `:flatten_json`.

## JSON API

- `jsonapi_resource_type`: Whether the `type` attributes of resources should be singular or plural. Possible values: `:singular, :plural`. Default: `:plural`.

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
active_model_serializers-0.10.0.rc3 docs/general/configuration_options.md
cheap_ams-0.10.11 docs/general/configuration_options.md
cheap_ams-0.10.10 docs/general/configuration_options.md
cheap_ams-0.10.8 docs/general/configuration_options.md
cheap_ams-0.10.7 docs/general/configuration_options.md
cheap_ams-0.10.6 docs/general/configuration_options.md