Class: Retab::ManualWorkflowTestSource
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Retab::ManualWorkflowTestSource
- Defined in:
- lib/retab/workflow_test_run_results/manual_workflow_test_source.rb
Constant Summary collapse
- HASH_ATTRS =
{ type: :type, handle_inputs: :handle_inputs }.freeze
Instance Attribute Summary collapse
-
#handle_inputs ⇒ Object
Returns the value of attribute handle_inputs.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ ManualWorkflowTestSource
constructor
A new instance of ManualWorkflowTestSource.
Methods inherited from Types::BaseModel
#inspect, normalize, #to_h, #to_json
Constructor Details
#initialize(json) ⇒ ManualWorkflowTestSource
Returns a new instance of ManualWorkflowTestSource.
17 18 19 20 21 |
# File 'lib/retab/workflow_test_run_results/manual_workflow_test_source.rb', line 17 def initialize(json) hash = self.class.normalize(json) @type = hash[:type] @handle_inputs = hash[:handle_inputs] || {} end |
Instance Attribute Details
#handle_inputs ⇒ Object
Returns the value of attribute handle_inputs.
13 14 15 |
# File 'lib/retab/workflow_test_run_results/manual_workflow_test_source.rb', line 13 def handle_inputs @handle_inputs end |
#type ⇒ Object
Returns the value of attribute type.
13 14 15 |
# File 'lib/retab/workflow_test_run_results/manual_workflow_test_source.rb', line 13 def type @type end |