Class: AppProfiler::Middleware::BaseAction
- Inherits:
-
Object
- Object
- AppProfiler::Middleware::BaseAction
- Defined in:
- lib/app_profiler/middleware/base_action.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.call(_profile, _params = {}) ⇒ Object
7 8 9 |
# File 'lib/app_profiler/middleware/base_action.rb', line 7 def call(_profile, _params = {}) raise NotImplementedError end |
.cleanup ⇒ Object
11 12 13 14 |
# File 'lib/app_profiler/middleware/base_action.rb', line 11 def cleanup profile = AppProfiler.profiler.results call(profile) if profile end |