Sha256: 4007a16b58baf558fea5f8aa8e05a014e69eaecc8b64e94ac9d580c4597c1c73

Contents?: true

Size: 338 Bytes

Versions: 48

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

48 entries across 48 versions & 1 rubygems

Version Path
inferno_core-0.4.4 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.3 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.2 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.2.pre lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.1 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.1.pre2 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.1.pre lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.0 lib/inferno/apps/web/controllers/test_sessions/show.rb