Class: ProconBypassMan::RemoteActionSender

Inherits:
Object
  • Object
show all
Defined in:
lib/procon_bypass_man/remote_action/remote_action_sender.rb

Overview

FIXME: RemoteMacroSenderという名前をやめる。BypassProcessSenderみたいにする

Class Method Summary collapse

Class Method Details

.execute(name:, uuid:, steps:, type:) ⇒ Object



3
4
5
6
7
8
# File 'lib/procon_bypass_man/remote_action/remote_action_sender.rb', line 3

def self.execute(name: , uuid: , steps: , type: )
  ProconBypassMan.logger.info "[remote macro][sender] name: #{name}, uuid: #{uuid}, steps: #{steps}, type: #{type}"
  ProconBypassMan::RemoteAction::QueueOverProcess.push(
    ProconBypassMan::RemoteAction::Task.new(name, uuid, steps, type)
  )
end