Sha256: d2bc560be79458e226e839c3b7c974f2c0c9a421e9085c7f307d404a1dc17ca1

Contents?: true

Size: 293 Bytes

Versions: 8

Compression:

Stored size: 293 Bytes

Contents

# NOTE: remote macroとpbm remote actionの両方で使う
class ProconBypassMan::RemoteAction::Task < ::Struct.new(:name, :uuid, :steps, :type)
  TYPE_MACRO = 'macro'
  TYPE_ACTION = 'action'

  # remote actionのためのalias
  def action
    name
  end

  def job_args
    steps
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
procon_bypass_man-0.3.12 lib/procon_bypass_man/remote_action/task.rb
procon_bypass_man-0.3.11 lib/procon_bypass_man/remote_action/task.rb
procon_bypass_man-0.3.10 lib/procon_bypass_man/remote_action/task.rb
procon_bypass_man-0.3.9 lib/procon_bypass_man/remote_action/task.rb
procon_bypass_man-0.3.8.1 lib/procon_bypass_man/remote_action/task.rb
procon_bypass_man-0.3.8 lib/procon_bypass_man/remote_action/task.rb
procon_bypass_man-0.3.7 lib/procon_bypass_man/remote_action/task.rb
procon_bypass_man-0.3.6 lib/procon_bypass_man/remote_action/task.rb