Sha256: 771b67be0faf59ca672b6f40e20fa536a96f1df7c80b8e0a3d5a325cfa703dc1
Contents?: true
Size: 524 Bytes
Versions: 36
Compression:
Stored size: 524 Bytes
Contents
module Inferno module Web module Controllers module TestSessions class LastTestRun < Controller include Import[test_runs_repo: 'repositories.test_runs'] 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 end end end end end
Version data entries
36 entries across 36 versions & 1 rubygems