Skip to content

Commit 6048c0f

Browse files
authored
Update README.md
1 parent 102321e commit 6048c0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ class ResourceInterface
4242
# @return [String]
4343
def jsonapi_id; end
4444

45-
# Returns a hash containing, for each included relationship, the resource(s)
46-
# to be included from that one.
45+
# Returns a hash containing, for each included relationship, an array of the
46+
# resources to be included from that one.
4747
# @param [Array<Symbol>] included_relationships The keys of the relationships
4848
# to be included.
49-
# @return [Hash{Symbol => #ResourceInterface, Array<#ResourceInterface>}]
49+
# @return [Hash{Symbol => Array<#ResourceInterface>}]
5050
def jsonapi_related(included_relationships); end
5151

5252
# Returns a JSON API-compliant representation of the resource as a hash.

0 commit comments

Comments
 (0)