Consistently refer to the 'JSON API' and the 'JsonApi' adapter

This commit is contained in:
Benjamin Fleischer
2015-09-04 04:28:10 -05:00
parent ee40e9fcef
commit 0091be89f8
5 changed files with 20 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
module ActiveModel::Serializer::Utils
module_function
# Translates a comma separated list of dot separated paths (JSONAPI format) into a Hash.
# Translates a comma separated list of dot separated paths (JSON API format) into a Hash.
# Example: `'posts.author, posts.comments.upvotes, posts.comments.author'` would become `{ posts: { author: {}, comments: { author: {}, upvotes: {} } } }`.
#
# @param [String] included