Sha256: cd9c7e29187b467efec3783dbcbbafd1feec853ed6e284a5f7a887456ad45037

Contents?: true

Size: 331 Bytes

Versions: 39

Compression:

Stored size: 331 Bytes

Contents

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

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

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
inferno_core-0.3.12 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.3.11 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.3.10 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.3.9 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.3.8 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.3.7 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.3.6 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.3.5 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.3.4 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.3.3 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.3.2 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.3.1 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.3.0 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.3.0.rc1 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.2.0 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.2.0.rc4 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.2.0.rc3 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.2.0.rc2 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.2.0.rc1 lib/inferno/apps/web/controllers/test_sessions/show.rb
inferno_core-0.1.4.pre lib/inferno/apps/web/controllers/test_sessions/show.rb