Class: AppProfiler::Middleware::ViewAction

Inherits:
BaseAction
  • Object
show all
Defined in:
lib/app_profiler/middleware/view_action.rb

Class Method Summary collapse

Methods inherited from BaseAction

cleanup

Class Method Details

.call(profile, params = {}) ⇒ Object



7
8
9
# File 'lib/app_profiler/middleware/view_action.rb', line 7

def call(profile, params = {})
  profile.view(**params)
end