Class: Retab::OutputTarget

Inherits:
Types::BaseModel show all
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

Attributes inherited from Types::BaseModel

#last_response

Instance Method Summary collapse

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_idObject

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

#pathObject

Returns the value of attribute path.



13
14
15
# File 'lib/retab/workflow_tests/output_target.rb', line 13

def path
  @path
end