Class: VagrantPlugins::SecuredCloud::Action::PowerOff
- Defined in:
- lib/secured-cloud-vagrant/actions/power_off.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) ⇒ PowerOff
constructor
A new instance of PowerOff.
Methods inherited from PowerVm
Constructor Details
#initialize(app, env) ⇒ PowerOff
Returns a new instance of PowerOff.
13 14 15 16 |
# File 'lib/secured-cloud-vagrant/actions/power_off.rb', line 13 def initialize(app, env) env[:ui].info(I18n.t("secured_cloud_vagrant.info.powering_off")) super(app, env, "off") end |