backups: add stub backup service.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class BackupService
|
||||
def backup(file_path, options = {})
|
||||
raise NotImplementedError.new("#{self.class}.backup not implemented")
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class NullBackupService
|
||||
def backup(file_path, options = {})
|
||||
# do nothing
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user