Sha256: 024ac8d3e81ab64b350153a1ec172eadfaf8e2b5b2446ad594926436cb7ff6c5
Contents?: true
Size: 889 Bytes
Versions: 4
Compression:
Stored size: 889 Bytes
Contents
module Sufia module GenericFile module Metadata extend ActiveSupport::Concern included do has_metadata "descMetadata", type: GenericFileRdfDatastream has_metadata "properties", type: PropertiesDatastream has_file_datastream "content", type: FileContentDatastream has_file_datastream "thumbnail" delegate_to :properties, [:relative_path, :depositor, :import_url], multiple: false delegate_to :descMetadata, [:date_uploaded, :date_modified], multiple: false delegate_to :descMetadata, [:related_url, :based_near, :part_of, :creator, :contributor, :title, :tag, :description, :rights, :publisher, :date_created, :subject, :resource_type, :identifier, :language], multiple: true end end end end
Version data entries
4 entries across 4 versions & 2 rubygems