-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Omit meta from serialized output when the value would be nil, and therefore not an object, as the specification requires. Cf. http://jsonapi.org/format/#document-meta Where specified, a meta member can be used to include non-standard meta-information. The value of each meta member MUST be an object (a “meta object”). * Pull common test data payload into @default_data * Since the JSONAPI spec requires that meta be an Object, check for is_map rather than not nil * Credo fixes for untouched code
- Loading branch information
Showing
4 changed files
with
45 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters