class VagrantPlugins::SecuredCloud::Action::PowerOff

This can be used with “Call” built-in to check if the machine is created and branch in the middleware.

Public Class Methods

new(app, env) click to toggle source
Calls superclass method
# 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