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