Sha256: 17893ee100bde8ce8308030966790d84dbea3c39eeafa26f0d3e61802a24cd18

Contents?: true

Size: 501 Bytes

Versions: 74

Compression:

Stored size: 501 Bytes

Contents

require_relative 'attributes'
require_relative 'entity'
require_relative 'has_runnable'

module Inferno
  module Entities
    # A `Preset` represents a set of input values for a runnable.
    class Preset < Entity
      ATTRIBUTES = [
        :id,
        :test_suite_id,
        :inputs,
        :title
      ].freeze

      include Inferno::Entities::Attributes
      include Inferno::Entities::HasRunnable

      def initialize(params)
        super(params, ATTRIBUTES)
      end
    end
  end
end

Version data entries

74 entries across 74 versions & 1 rubygems

Version Path
inferno_core-0.6.1 lib/inferno/entities/preset.rb
inferno_core-0.6.0 lib/inferno/entities/preset.rb
inferno_core-0.5.4 lib/inferno/entities/preset.rb
inferno_core-0.5.3 lib/inferno/entities/preset.rb
inferno_core-0.5.2 lib/inferno/entities/preset.rb
inferno_core-0.5.1 lib/inferno/entities/preset.rb
inferno_core-0.5.0 lib/inferno/entities/preset.rb
inferno_core-0.4.44 lib/inferno/entities/preset.rb
inferno_core-0.4.43 lib/inferno/entities/preset.rb
inferno_core-0.4.42 lib/inferno/entities/preset.rb
inferno_core-0.4.41 lib/inferno/entities/preset.rb
inferno_core-0.4.40 lib/inferno/entities/preset.rb
inferno_core-0.4.39 lib/inferno/entities/preset.rb
inferno_core-0.4.38 lib/inferno/entities/preset.rb
inferno_core-0.4.35 lib/inferno/entities/preset.rb
inferno_core-0.4.34 lib/inferno/entities/preset.rb
inferno_core-0.4.33 lib/inferno/entities/preset.rb
inferno_core-0.4.32 lib/inferno/entities/preset.rb
inferno_core-0.4.31 lib/inferno/entities/preset.rb
inferno_core-0.4.30 lib/inferno/entities/preset.rb