Sha256: 1a61b5e7f796c23909ece78c93c7bf6310af40d49c11d81dfed411cfcee015fc
Contents?: true
Size: 613 Bytes
Versions: 36
Compression:
Stored size: 613 Bytes
Contents
module Inferno module Web module Controllers module TestSessions module Results class Index < Controller include Import[test_sessions_repo: 'repositories.test_sessions'] def call(params) self.body = if params[:all] == 'true' serialize(test_sessions_repo.results_for_test_session(params[:test_session_id])) else serialize(repo.current_results_for_test_session(params[:test_session_id])) end end end end end end end end
Version data entries
36 entries across 36 versions & 1 rubygems