class RelatonOgc::HashConverter

Private Class Methods

editorialgroup_hash_to_bib(ret) click to toggle source

@param ret [Hash]

# File lib/relaton_ogc/hash_converter.rb, line 7
def editorialgroup_hash_to_bib(ret)
  eg = ret[:editorialgroup]
  return unless eg

  ret[:editorialgroup] = EditorialGroup.new(
    committee: eg[:committee],
    subcommittee: eg[:subcommittee],
    workgroup: eg[:workgroup],
    secretariat: eg[:secretariat],
  )
end