Sha256: 2b8ae837fc9ddc8c71c2b988e1d000671b71170b95b59fac79ac827b9c0bb740

Contents?: true

Size: 743 Bytes

Versions: 7

Compression:

Stored size: 743 Bytes

Contents

module Inferno
  module Web
    module Serializers
      class TestGroup < Serializer
        identifier :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

7 entries across 7 versions & 1 rubygems

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