class StatusPageRuby::Services::RestoreData

Attributes

storage[R]

Public Class Methods

new(storage) click to toggle source
# File lib/status_page_ruby/services/restore_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/restore_data.rb, line 10
def call(path)
  storage.restore(path)
end