Module: Apipie::Extractor::Recorder::FunctionalTestRecording
- Defined in:
- lib/apipie/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
108 109 110 |
# File 'lib/apipie/extractor/recorder.rb', line 108 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’)
112 113 114 115 116 117 118 |
# File 'lib/apipie/extractor/recorder.rb', line 112 def process_with_api_recording(*args) # action, parameters = nil, session = nil, flash = nil, http_method = 'GET') ret = process_without_api_recording(*args) Apipie::Extractor.call_recorder.analyze_functional_test(self) ret ensure Apipie::Extractor.call_finished end |