Class: VagrantPlugins::SecuredCloud::Action::PowerOn
- Defined in:
- lib/secured-cloud-vagrant/actions/power_on.rb
Overview
This can be used with “Call” built-in to check if the machine is created and branch in the middleware.
Instance Method Summary collapse
-
#initialize(app, env) ⇒ PowerOn
constructor
A new instance of PowerOn.
Methods inherited from PowerVm
Constructor Details
#initialize(app, env) ⇒ PowerOn
Returns a new instance of PowerOn.
13 14 15 16 |
# File 'lib/secured-cloud-vagrant/actions/power_on.rb', line 13 def initialize(app, env) env[:ui].info(I18n.t("secured_cloud_vagrant.info.powering_on")) super(app, env, "on") end |