lib/bolognese/readers/schema_org_reader.rb in bolognese-0.9.27 vs lib/bolognese/readers/schema_org_reader.rb in bolognese-0.9.28
- old
+ new
@@ -57,10 +57,10 @@
"version" => meta.fetch("version", nil),
"keywords" => meta.fetch("keywords", nil).to_s.split(", ")
}
end
- def get_schema_org(id: nil)
+ def get_schema_org(id: nil, **options)
return nil unless id.present?
id = normalize_id(id)
response = Maremma.get(id)
doc = Nokogiri::XML(response.body.fetch("data", nil), nil, 'UTF-8')