Sha256: d862b4b46935e207a4b6b309176fa27665e58c8594ef51c29d44c27d90d2ad65

Contents?: true

Size: 653 Bytes

Versions: 7

Compression:

Stored size: 653 Bytes

Contents

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

        field :short_id
        field :title
        field :short_title
        field :inputs do |test, options|
          suite_options = options[:suite_options]
          Input.render_as_hash(test.available_inputs(suite_options).values)
        end
        field :output_definitions, name: :outputs, extractor: HashValueExtractor
        field :description
        field :short_description
        field :input_instructions
        field :user_runnable?, name: :user_runnable
        field :optional?, name: :optional
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
inferno_core-0.3.12 lib/inferno/apps/web/serializers/test.rb
inferno_core-0.3.11 lib/inferno/apps/web/serializers/test.rb
inferno_core-0.3.10 lib/inferno/apps/web/serializers/test.rb
inferno_core-0.3.9 lib/inferno/apps/web/serializers/test.rb
inferno_core-0.3.8 lib/inferno/apps/web/serializers/test.rb
inferno_core-0.3.7 lib/inferno/apps/web/serializers/test.rb
inferno_core-0.3.6 lib/inferno/apps/web/serializers/test.rb