class Temporal::Client::Serializer::StartTimer
Public Instance Methods
to_proto()
click to toggle source
# File lib/temporal/client/serializer/start_timer.rb, line 7 def to_proto Temporal::Api::Command::V1::Command.new( command_type: Temporal::Api::Enums::V1::CommandType::COMMAND_TYPE_START_TIMER, start_timer_command_attributes: Temporal::Api::Command::V1::StartTimerCommandAttributes.new( timer_id: object.timer_id.to_s, start_to_fire_timeout: object.timeout ) ) end