Class: Temporal::Client::Serializer::CompleteWorkflow
- Includes:
- Temporal::Concerns::Payloads
- Defined in:
- lib/temporal/client/serializer/complete_workflow.rb
Instance Method Summary collapse
Methods included from Temporal::Concerns::Payloads
#from_details_payloads, #from_payload, #from_payloads, #from_result_payloads, #from_signal_payloads, #to_details_payloads, #to_payload, #to_payloads, #to_result_payloads, #to_signal_payloads
Methods inherited from Base
Constructor Details
This class inherits a constructor from Temporal::Client::Serializer::Base
Instance Method Details
#to_proto ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/temporal/client/serializer/complete_workflow.rb', line 10 def to_proto Temporal::Api::Command::V1::Command.new( command_type: Temporal::Api::Enums::V1::CommandType::COMMAND_TYPE_COMPLETE_WORKFLOW_EXECUTION, complete_workflow_execution_command_attributes: Temporal::Api::Command::V1::CompleteWorkflowExecutionCommandAttributes.new( result: to_result_payloads(object.result) ) ) end |