class DFileConfigs
Singleton entity which holds the configuration
Public Class Methods
singleton()
click to toggle source
# File Entities/DFiles.rb, line 307 def self.singleton first or self.create({limit_size: 10, auto_update: -1}) end
Public Instance Methods
migration_1(d)
click to toggle source
# File Entities/DFiles.rb, line 302 def migration_1(d) d.limit_size = 10 d.auto_update = -1 end
setup_data()
click to toggle source
# File Entities/DFiles.rb, line 294 def setup_data # 0 for no limit, else limit in GBytes value_int :limit_size # at what time of the day the system should update # -1 = no auto_update value_int :auto_update end