Sha256: 42f415ac78bc012da78f80f1361b72c75e025ef883c21722529c54cdb89abd1e
Contents?: true
Size: 375 Bytes
Versions: 71
Compression:
Stored size: 375 Bytes
Contents
module Bolognese module Writers module CitationWriter def citation params = { style: style, locale: locale } citation_url = "https://citation.crosscite.org/format?" + URI.encode_www_form(params) response = Maremma.post citation_url, content_type: 'json', data: citeproc response.body.fetch("data", nil) end end end end
Version data entries
71 entries across 71 versions & 1 rubygems