Sha256: 1058c133f711256a7076305c7ae09844185e558a777f2176b81ca77a7ff92927

Contents?: true

Size: 362 Bytes

Versions: 38

Compression:

Stored size: 362 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'

  def publishable?
    false
  end

end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
ddr-models-2.11.0 app/models/attachment.rb
ddr-models-2.10.2 app/models/attachment.rb
ddr-models-2.10.1 app/models/attachment.rb
ddr-models-2.10.0 app/models/attachment.rb
ddr-models-2.10.0.rc2 app/models/attachment.rb
ddr-models-2.10.0.rc1 app/models/attachment.rb
ddr-models-2.9.2 app/models/attachment.rb
ddr-models-2.9.1 app/models/attachment.rb
ddr-models-2.9.0 app/models/attachment.rb
ddr-models-2.9.0.rc1 app/models/attachment.rb
ddr-models-2.8.0 app/models/attachment.rb
ddr-models-2.8.0.rc1 app/models/attachment.rb
ddr-models-2.7.6 app/models/attachment.rb
ddr-models-2.7.5 app/models/attachment.rb
ddr-models-2.7.4 app/models/attachment.rb
ddr-models-2.7.3 app/models/attachment.rb
ddr-models-2.7.2 app/models/attachment.rb
ddr-models-2.7.1 app/models/attachment.rb
ddr-models-2.7.0 app/models/attachment.rb
ddr-models-2.7.0.rc1 app/models/attachment.rb