examples/export.rb in archivesspace-client-0.1.5 vs examples/export.rb in archivesspace-client-0.1.6
- old
+ new
@@ -24,9 +24,10 @@
# but you would actually write to a zip file or whatever
id = resource['uri'].split('/')[-1]
opts = { include_unpublished: false }
response = client.get("resource_descriptions/#{id}.xml", opts)
puts Nokogiri::XML(response.body).to_xml
+ break
end
rescue ArchivesSpace::RequestError => ex
puts ex.message
end
\ No newline at end of file