Class: Crashbreak::RequestRestorer

Inherits:
Object
  • Object
show all
Defined in:
lib/crashbreak/restorers/request_restorer.rb

Instance Method Summary collapse

Constructor Details

#initialize(request_data) ⇒ RequestRestorer

Returns a new instance of RequestRestorer.



3
4
5
# File 'lib/crashbreak/restorers/request_restorer.rb', line 3

def initialize(request_data)
  @request_data = request_data
end

Instance Method Details

#restoreObject



7
8
9
# File 'lib/crashbreak/restorers/request_restorer.rb', line 7

def restore
  @request_data
end