class Inferno::Web::Controllers::TestSessions::LastTestRun
Public Instance Methods
call(params)
click to toggle source
# File lib/inferno/apps/web/controllers/test_sessions/last_test_run.rb, line 8 def call(params) test_run = test_runs_repo.last_test_run(params[:test_session_id]) self.body = if test_run.nil? nil else Inferno::Web::Serializers::TestRun.render(test_run) end end