Sha256: 4f1cd3361a0eab409fc204093bca5f86f8f8d619e693e5e1aba7f2f63553bd67

Contents?: true

Size: 767 Bytes

Versions: 6

Compression:

Stored size: 767 Bytes

Contents

module Inferno
  module Web
    module Serializers
      class TestGroup < Serializer
        identifier :id

        field :short_id
        field :title
        field :short_title
        field :description
        field :short_description
        field :input_instructions
        field :test_count
        field :run_as_group?, name: :run_as_group
        field :user_runnable?, name: :user_runnable
        field :optional?, name: :optional

        association :groups, name: :test_groups, blueprint: TestGroup
        association :tests, blueprint: Test
        field :input_definitions, name: :inputs, extractor: HashValueExtractor, blueprint: Input
        field :output_definitions, name: :outputs, extractor: HashValueExtractor
      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_group.rb
inferno_core-0.2.0.rc4 lib/inferno/apps/web/serializers/test_group.rb
inferno_core-0.2.0.rc3 lib/inferno/apps/web/serializers/test_group.rb
inferno_core-0.2.0.rc2 lib/inferno/apps/web/serializers/test_group.rb
inferno_core-0.2.0.rc1 lib/inferno/apps/web/serializers/test_group.rb
inferno_core-0.1.4.pre lib/inferno/apps/web/serializers/test_group.rb