lib/bolognese/schema_org.rb in bolognese-0.8.4 vs lib/bolognese/schema_org.rb in bolognese-0.8.5
- old
+ new
@@ -33,10 +33,10 @@
def valid?
schema_org.present?
end
def doi
- doi_from_url(id)
+ validate_doi(id)
end
def id
normalize_id(metadata.fetch("@id", nil))
end