Method: IsoDoc::Metadata#agency

Defined in:
lib/isodoc/metadata_contributor.rb

#agency(xml) ⇒ Object



79
80
81
82
83
84
# File 'lib/isodoc/metadata_contributor.rb', line 79

def agency(xml)
  agency, publisher = agency1(xml)
  set(:agency, agency.sub(%r{/$}, ""))
  set(:publisher, connectives_strip(@i18n.boolean_conj(publisher, "and")))
  agency_addr(xml)
end