We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 102321e commit 6048c0fCopy full SHA for 6048c0f
README.md
@@ -42,11 +42,11 @@ class ResourceInterface
42
# @return [String]
43
def jsonapi_id; end
44
45
- # Returns a hash containing, for each included relationship, the resource(s)
46
- # to be included from that one.
+ # Returns a hash containing, for each included relationship, an array of the
+ # resources to be included from that one.
47
# @param [Array<Symbol>] included_relationships The keys of the relationships
48
# to be included.
49
- # @return [Hash{Symbol => #ResourceInterface, Array<#ResourceInterface>}]
+ # @return [Hash{Symbol => Array<#ResourceInterface>}]
50
def jsonapi_related(included_relationships); end
51
52
# Returns a JSON API-compliant representation of the resource as a hash.
0 commit comments