Mutate hash while building it

This commit is contained in:
Benjamin Fleischer 2017-08-03 15:15:55 -05:00
parent 155e99cedc
commit 13340790c5

View File

@ -324,7 +324,7 @@ module AMS
{
id: id.to_s,
type: type
}.merge({
}.merge!({
attributes: attributes,
relationships: relations,
links: resource_links_object