lib/ddr/models.rb in ddr-models-2.6.0.rc1 vs lib/ddr/models.rb in ddr-models-2.6.0.rc2
- old
+ new
@@ -61,10 +61,11 @@
autoload :HasMultiresImage
autoload :HasStructMetadata
autoload :HasThumbnail
autoload :Indexing
autoload :NotFoundError, 'ddr/models/error'
+ autoload :PermanentId
autoload :SolrDocument
autoload :StructDiv
autoload :Structure
autoload :WithContentFile
autoload :YearFacet
@@ -114,9 +115,17 @@
end
# Is repository locked? Default is false.
# A locked repository behaves as though each object in the repository is locked.
mattr_accessor :repository_locked do
+ false
+ end
+
+ mattr_accessor :auto_assign_permanent_id do
+ false
+ end
+
+ mattr_accessor :auto_update_permanent_id do
false
end
# Yields an object with module configuration accessors
def self.configure