lib/ddr/models.rb in ddr-models-2.5.3 vs lib/ddr/models.rb in ddr-models-2.6.0.rc1
- old
+ new
@@ -87,13 +87,10 @@
mattr_accessor :external_file_subpath_regexp
# Image server URL
mattr_accessor :image_server_url
- # Whether permanent IDs should be automatically assigned on create
- mattr_accessor :auto_assign_permanent_ids
-
mattr_accessor :permanent_id_target_url_base do
"https://repository.duke.edu/id/"
end
# Home directory for FITS
@@ -112,9 +109,15 @@
end
# Application temp dir - defaults to system temp dir
mattr_accessor :tempdir do
Dir.tmpdir
+ 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
# Yields an object with module configuration accessors
def self.configure
yield self