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.4.29 lib/inferno/entities/preset.rb
inferno_core-0.4.28 lib/inferno/entities/preset.rb
inferno_core-0.4.27 lib/inferno/entities/preset.rb
inferno_core-0.4.26 lib/inferno/entities/preset.rb
inferno_core-0.4.25 lib/inferno/entities/preset.rb
inferno_core-0.4.24 lib/inferno/entities/preset.rb
inferno_core-0.4.23 lib/inferno/entities/preset.rb
inferno_core-0.4.22 lib/inferno/entities/preset.rb
inferno_core-0.4.21 lib/inferno/entities/preset.rb
inferno_core-0.4.20 lib/inferno/entities/preset.rb
inferno_core-0.4.19 lib/inferno/entities/preset.rb
inferno_core-0.4.18 lib/inferno/entities/preset.rb
inferno_core-0.4.17 lib/inferno/entities/preset.rb
inferno_core-0.4.16 lib/inferno/entities/preset.rb
inferno_core-0.4.15 lib/inferno/entities/preset.rb
inferno_core-0.4.14 lib/inferno/entities/preset.rb
inferno_core-0.4.13 lib/inferno/entities/preset.rb
inferno_core-0.4.12 lib/inferno/entities/preset.rb
inferno_core-0.4.11 lib/inferno/entities/preset.rb
inferno_core-0.4.10 lib/inferno/entities/preset.rb