class StatusPageRuby::Services::BackupData
Attributes
storage[R]
Public Class Methods
new(storage)
click to toggle source
# File lib/status_page_ruby/services/backup_data.rb, line 6 def initialize(storage) @storage = storage end
Public Instance Methods
call(path)
click to toggle source
# File lib/status_page_ruby/services/backup_data.rb, line 10 def call(path) storage.copy(path) end