Sha256: e243b9f1beb98743877e70212b35851030a9581abe4dd04b5537bdf68c5629ec

Contents?: true

Size: 626 Bytes

Versions: 6

Compression:

Stored size: 626 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
          field :version
          association :presets, view: :summary, blueprint: Preset
        end

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
inferno_core-0.2.0 lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.2.0.rc4 lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.2.0.rc3 lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.2.0.rc2 lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.2.0.rc1 lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.1.4.pre lib/inferno/apps/web/serializers/test_suite.rb