class Libis::Services::Rosetta::CollectionInfo

Public Instance Methods

to_hash() click to toggle source
# File lib/libis/services/rosetta/collection_info.rb, line 35
def to_hash
  result = self.attributes
  result[:md_dc] = result[:md_dc].attributes if result[:md_dc]
  result[:md_source] = result[:md_source].map { |md| md.attributes }
  result
end