Class: HotCell::Fixtures::Echo

Inherits:
Operation show all
Defined in:
lib/hot_cell/test_operations.rb

Overview

No inputs and no outputs, like rendering an initials avatar from nothing but a payload.

Constant Summary

Constants inherited from Operation

Operation::READ_BYTES

Instance Method Summary collapse

Methods inherited from Operation

abstract_operation, abstract_operation?, before_fork, before_worker_boot, inherited, limits, operation, operation_name, #run_tool, unreadable

Instance Method Details

#perform(_inputs, _outputs, **payload) ⇒ Object



58
59
60
# File 'lib/hot_cell/test_operations.rb', line 58

def perform(_inputs, _outputs, **payload)
  { echoed: payload }
end