Module: Restapi::Extractor::Recorder::FunctionalTestRecording
- Defined in:
- lib/restapi/extractor/recorder.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#process_with_api_recording(*args) ⇒ Object
action, parameters = nil, session = nil, flash = nil, http_method = ‘GET’).
Class Method Details
.included(base) ⇒ Object
107 108 109 |
# File 'lib/restapi/extractor/recorder.rb', line 107 def self.included(base) base.alias_method_chain :process, :api_recording end |
Instance Method Details
#process_with_api_recording(*args) ⇒ Object
action, parameters = nil, session = nil, flash = nil, http_method = ‘GET’)
111 112 113 114 115 116 |
# File 'lib/restapi/extractor/recorder.rb', line 111 def process_with_api_recording(*args) # action, parameters = nil, session = nil, flash = nil, http_method = 'GET') process_without_api_recording(*args) Restapi::Extractor.call_recorder.analyze_functional_test(self) ensure Restapi::Extractor.call_finished end |