Module: Briard::Writers::DataciteJsonWriter
- Included in:
- MetadataUtils
- Defined in:
- lib/briard/writers/datacite_json_writer.rb
Instance Method Summary collapse
Instance Method Details
#datacite_json ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/briard/writers/datacite_json_writer.rb', line 8 def datacite_json return unless crosscite_hsh.present? JSON.pretty_generate crosscite_hsh.transform_keys! { |key| key.camelcase(uppercase_first_letter = :lower) } end |