class Moab::Configuration
A place to store configuration for the gem
Public Class Methods
Source
# File lib/moab/config.rb, line 6 def initialize @path_method = :druid_tree @checksum_algos = [:md5, :sha1, :sha256] end
Public Instance Methods
Source
# File lib/moab/config.rb, line 35 def checksum_algos(new_value = nil) @checksum_algos = new_value if new_value @checksum_algos end
Source
# File lib/moab/config.rb, line 25 def deposit_trunk(new_value = nil) @deposit_trunk = new_value if new_value @deposit_trunk end
Source
# File lib/moab/config.rb, line 30 def path_method(new_value = nil) @path_method = new_value if new_value @path_method end
Source
# File lib/moab/config.rb, line 15 def storage_roots(new_value = nil) @storage_roots = new_value if new_value @storage_roots end
Source
# File lib/moab/config.rb, line 20 def storage_trunk(new_value = nil) @storage_trunk = new_value if new_value @storage_trunk end