lib/dwc-archive/metadata.rb in dwc-archive-0.7.14 vs lib/dwc-archive/metadata.rb in dwc-archive-0.7.15
- old
+ new
@@ -11,9 +11,13 @@
def id
@metadata[:eml][:dataset][:attributes][:id] rescue nil
end
+ def package_id
+ @metadata.data[:eml][:attributes][:packageId] rescue nil
+ end
+
def title
@metadata[:eml][:dataset][:title] rescue nil
end
def authors