Class: Inferno::Entities::Preset

Inherits:
Entity
  • Object
show all
Includes:
HasRunnable
Defined in:
lib/inferno/entities/preset.rb

Overview

A Preset represents a set of input values for a runnable.

Constant Summary collapse

ATTRIBUTES =
[
  :id,
  :test_suite_id,
  :inputs,
  :title
].freeze

Instance Method Summary collapse

Methods included from HasRunnable

#runnable

Methods inherited from Entity

#to_hash

Constructor Details

#initialize(params) ⇒ Preset

Returns a new instance of Preset.



19
20
21
# File 'lib/inferno/entities/preset.rb', line 19

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