Class: Temporal::Client::Serializer::CancelTimer
- Defined in:
- lib/temporal/client/serializer/cancel_timer.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Temporal::Client::Serializer::Base
Instance Method Details
#to_proto ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/temporal/client/serializer/cancel_timer.rb', line 7 def to_proto Temporal::Api::Command::V1::Command.new( command_type: Temporal::Api::Enums::V1::CommandType::COMMAND_TYPE_CANCEL_TIMER, cancel_timer_command_attributes: Temporal::Api::Command::V1::CancelTimerCommandAttributes.new( timer_id: object.timer_id.to_s ) ) end |