lib/bolognese/datacite_json.rb in bolognese-0.8 vs lib/bolognese/datacite_json.rb in bolognese-0.8.1
- old
+ new
@@ -10,10 +10,10 @@
def metadata
@metadata ||= raw.present? ? Maremma.from_json(raw) : {}
end
def valid?
- true
+ datacite_json.present?
end
def datacite
datacite_xml
end