Class: Inferno::Web::Controllers::TestRuns::Results::Index

Inherits:
Controller
  • Object
show all
Defined in:
lib/inferno/apps/web/controllers/test_runs/results/index.rb

Instance Method Summary collapse

Methods inherited from Controller

call, resource_class, resource_name

Instance Method Details

#handle(req, res) ⇒ Object



9
10
11
12
# File 'lib/inferno/apps/web/controllers/test_runs/results/index.rb', line 9

def handle(req, res)
  results = test_runs_repo.results_for_test_run(req.params[:test_run_id])
  res.body = serialize(results)
end