My array contains a varying amount of objects. I need to iterate through the array and save each object id
as a unique variable. Given the amount of objects within the array will vary, how should I do this?
"items"=>[{"id"=>"B00668BTCI"}, {"id"=>"B0041KJSL2"}]
I need to save the information to a new object that can support up to 16 IDs. @object.id_one, @object.id_two, etc...