Class: Inferno::Web::Controllers::TestSuites::CheckConfiguration
- Inherits:
-
Controller
- Object
- Hanami::Action
- Controller
- Inferno::Web::Controllers::TestSuites::CheckConfiguration
- Defined in:
- lib/inferno/apps/web/controllers/test_suites/check_configuration.rb
Instance Method Summary collapse
Methods inherited from Controller
call, resource_class, resource_name
Instance Method Details
#handle(req, res) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/inferno/apps/web/controllers/test_suites/check_configuration.rb', line 6 def handle(req, res) test_suite = repo.find(req.params[:id]) halt 404 if test_suite.nil? res.body = Inferno::Web::Serializers::Message.render(test_suite.(force_recheck: true)) end |