Class: Rack::PerftoolsProfiler::ProfileDataAction
- Inherits:
-
Action
- Object
- Action
- Rack::PerftoolsProfiler::ProfileDataAction
show all
- Defined in:
- lib/rack/perftools_profiler/profile_data_action.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Action
#act, for_env, #initialize
Class Method Details
.check_printer(printer, env = nil) ⇒ Object
Instance Method Details
#check_printer_arg ⇒ Object
5
6
7
8
9
|
# File 'lib/rack/perftools_profiler/profile_data_action.rb', line 5
def check_printer_arg
request = Rack::Request.new(@env)
printer = request.params['printer']
self.class.check_printer(printer, @env)
end
|