Sha256: 385f65b210a7645f614294b458ba8d02ad458e8bb3dc2e7b2e51e0b4dff45761

Contents?: true

Size: 724 Bytes

Versions: 6

Compression:

Stored size: 724 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
          field :available_inputs, name: :inputs, extractor: HashValueExtractor, blueprint: Input
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
inferno_core-0.3.4 lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.3.3 lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.3.2 lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.3.1 lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.3.0 lib/inferno/apps/web/serializers/test_suite.rb
inferno_core-0.3.0.rc1 lib/inferno/apps/web/serializers/test_suite.rb