Sha256: c6d7b46b33947711cd48a365ab4402529bf4a9489bc69d30e70af648aa57959c

Contents?: true

Size: 437 Bytes

Versions: 26

Compression:

Stored size: 437 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,
             predicate: ::RDF::URI("http://projecthydra.org/ns/relations#isAttachedTo"),
             class_name: "ActiveFedora::Base"

  def publishable?
    false
  end

end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
ddr-models-3.0.8 app/models/attachment.rb
ddr-models-3.0.7 app/models/attachment.rb
ddr-models-3.0.6 app/models/attachment.rb
ddr-models-3.0.5 app/models/attachment.rb
ddr-models-3.0.4 app/models/attachment.rb
ddr-models-3.0.3 app/models/attachment.rb
ddr-models-3.0.2 app/models/attachment.rb
ddr-models-3.0.1 app/models/attachment.rb
ddr-models-3.0.0 app/models/attachment.rb
ddr-models-3.0.0.rc6 app/models/attachment.rb
ddr-models-3.0.0.rc5 app/models/attachment.rb
ddr-models-3.0.0.rc4 app/models/attachment.rb
ddr-models-3.0.0.rc3 app/models/attachment.rb
ddr-models-3.0.0.rc2 app/models/attachment.rb
ddr-models-3.0.0.rc1 app/models/attachment.rb
ddr-models-3.0.0.beta.22 app/models/attachment.rb
ddr-models-3.0.0.beta.21 app/models/attachment.rb
ddr-models-3.0.0.beta.20 app/models/attachment.rb
ddr-models-3.0.0.beta.18 app/models/attachment.rb
ddr-models-3.0.0.beta.17 app/models/attachment.rb