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, id: id.to_s,
type: type type: type
}.merge({ }.merge!({
attributes: attributes, attributes: attributes,
relationships: relations, relationships: relations,
links: resource_links_object links: resource_links_object