Sha256: 4007a16b58baf558fea5f8aa8e05a014e69eaecc8b64e94ac9d580c4597c1c73

Contents?: true

Size: 338 Bytes

Versions: 49

Compression:

Stored size: 338 Bytes

Contents

module Inferno
  module Web
    module Controllers
      module TestSessions
        class Show < Controller
          def handle(req, res)
            test_session = repo.find(req.params[:id])
            halt 404 if test_session.nil?

            res.body = serialize(test_session)
          end
        end
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
inferno_core-0.5.1 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.5.0 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.44 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.43 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.42 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.41 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.40 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.39 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.38 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.35 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.34 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.33 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.32 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.31 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.30 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.29 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.28 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.27 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.26 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.25 lib/inferno/apps/web/controllers/test_sessions/show.rb