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.23 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.22 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.21 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.20 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.19 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.18 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.17 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.16 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.15 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.14 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.13 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.12 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.11 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.10 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.9 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.8 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.7 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.7.pre lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.6 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.4.5 lib/inferno/apps/web/controllers/test_sessions/show.rb