Sha256: 9aa6430aec223b8a2d51749c127cf2f04b718fde5ac5b13e93f9c65d51457ac2

Contents?: true

Size: 343 Bytes

Versions: 54

Compression:

Stored size: 343 Bytes

Contents

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

            res.body = serialize(test_suite, view: :full)
          end
        end
      end
    end
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
inferno_core-0.6.1 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.6.0 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.5.4 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.5.3 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.5.2 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.5.1 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.5.0 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.4.44 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.4.43 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.4.42 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.4.41 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.4.40 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.4.39 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.4.38 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.4.35 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.4.34 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.4.33 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.4.32 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.4.31 lib/inferno/apps/web/controllers/test_suites/show.rb
inferno_core-0.4.30 lib/inferno/apps/web/controllers/test_suites/show.rb