importer.rb revision d286b916addffcdfe05bb1adde656b653af74180
ALLOWED_KEYS = %w(name display_name)
# io needs to be an instance of IO or a Tempfile.
end
hash = JSON.parse(io.read)
provers = hash['provers']
provers.each do |prover_hash|
ontology_version.provers << prover
end
end
ontology_version.save!
end
end
end
end