Sha256: 2b308f5795971fe017dd6e8cd07bc5fd89d00c8e06aea9efc8e9153818be2ad6

Contents?: true

Size: 495 Bytes

Versions: 7

Compression:

Stored size: 495 Bytes

Contents

module Inferno
  module Web
    module Serializers
      class TestSuite < Serializer
        view :summary do
          identifier :id
          field :title
          field :short_title
          field :description
          field :short_description
          field :input_instructions
          field :test_count
        end

        view :full do
          include_view :summary
          association :groups, name: :test_groups, blueprint: TestGroup
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
inferno_core-0.1.3 lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.1.3.pre2 lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.1.3.pre lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.1.2 lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.1.2.pre lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.1.1 lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.1.1.pre lib/inferno/apps/web/serializers/test_suite.rb