-
-
Save phillipoertel/d1b30057ef4121a64acb13419264be34 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
created_organizations = {} | |
MedlineOrganization.find_each do |organization| | |
# ... | |
key = new_organization[:organization][:external_id] | |
if created_organizations[key] | |
print "x" | |
else | |
created_organizations[key] = zendesk_account.organizations.create(new_organization[:organization]) | |
print "." | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment