Class: Crashbreak::RequestRestorer
- Inherits:
-
Object
- Object
- Crashbreak::RequestRestorer
- Defined in:
- lib/crashbreak/restorers/request_restorer.rb
Instance Method Summary collapse
-
#initialize(request_data) ⇒ RequestRestorer
constructor
A new instance of RequestRestorer.
- #restore ⇒ Object
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
#restore ⇒ Object
7 8 9 |
# File 'lib/crashbreak/restorers/request_restorer.rb', line 7 def restore @request_data end |