Skip to content
core

Relaton Bib

Implements the BibliographicItem model — the foundation of the Relaton data model.

Installation

$gem install relaton-bib

Quick Start

require 'relaton-bib'

item = RelatonBib::BibliographicItem.new(
  title: [{ content: "Example Standard", language: "en", script: "Latn" }],
  docid: [{ id: "EX 1:2024", type: "EX" }],
  date: [{ type: "published", value: "2024" }],
  type: "standard"
)
puts item.to_xml

Links