class Commands::BootstrapActionCommand

Attributes

args[RW]
bootstrap_name[RW]

Public Class Methods

new(*args) click to toggle source
Calls superclass method Commands::Command::new
# File lib/commands.rb, line 952
def initialize(*args)
  super(*args)
  @args = []
end

Public Instance Methods

bootstrap_action(index) click to toggle source
# File lib/commands.rb, line 957
def bootstrap_action(index)
  action = {
    "Name" => get_field(:bootstrap_name, "Bootstrap Action #{index}"),
    "ScriptBootstrapAction" => {
      "Path" => @arg,
      "Args" => @args
    }
  }
  return action
end