This is similar to the upsert helper method. In this case getOrCreate would POST the body and if a 409 unique constrain error is thrown it will try to GET the resource.
See: https://www.flowdock.com/app/rulemotion/resin-tech/threads/9lYeLTnspE03IDeC40ovlB9iTm0
This is similar to the
upserthelper method. In this casegetOrCreatewould POST the body and if a 409 unique constrain error is thrown it will try to GET the resource.See: https://www.flowdock.com/app/rulemotion/resin-tech/threads/9lYeLTnspE03IDeC40ovlB9iTm0