Sha256: cdbaa2b6a15ad2f8ac1ef448c24e3866e79fead6a358291f24566a90b157aba2

Contents?: true

Size: 326 Bytes

Versions: 49

Compression:

Stored size: 326 Bytes

Contents

#
# An Attachment is a miscellaneous content-bearing resource associated with a Collection.
#
# Example: A collection digitization QC information spreadsheet.
#
class Attachment < Ddr::Models::Base

  include Ddr::Models::HasContent

  belongs_to :attached_to, property: :is_attached_to, class_name: 'ActiveFedora::Base'

end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
ddr-models-1.16.2 app/models/attachment.rb
ddr-models-2.0.0.pre.2 app/models/attachment.rb
ddr-models-2.0.0.pre.1 app/models/attachment.rb
ddr-models-1.16.1 app/models/attachment.rb
ddr-models-1.16.0 app/models/attachment.rb
ddr-models-1.15.0 app/models/attachment.rb
ddr-models-1.14.2 app/models/attachment.rb
ddr-models-1.14.1 app/models/attachment.rb
ddr-models-1.14.0 app/models/attachment.rb