Sha256: 683c0a5551867d8b5d6ddd0d6665284b19970f84f9b6e11100c50ee320730e81

Contents?: true

Size: 370 Bytes

Versions: 15

Compression:

Stored size: 370 Bytes

Contents

module VagrantPlugins
  module VCloud
    module Action
      class MessageCannotSuspend
        def initialize(app, env)
          @app = app
        end

        def call(env)
          # FIXME: This error should be categorized
          env[:ui].info(I18n.t('vagrant_vcloud.vm_halted_cannot_suspend'))
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
vagrant-vcloud-0.5.0 lib/vagrant-vcloud/action/message_cannot_suspend.rb
vagrant-vcloud-0.4.7 lib/vagrant-vcloud/action/message_cannot_suspend.rb
vagrant-vcloud-0.4.6 lib/vagrant-vcloud/action/message_cannot_suspend.rb
vagrant-vcloud-0.4.4 lib/vagrant-vcloud/action/message_cannot_suspend.rb
vagrant-vcloud-0.4.3 lib/vagrant-vcloud/action/message_cannot_suspend.rb
vagrant-vcloud-0.4.2 lib/vagrant-vcloud/action/message_cannot_suspend.rb
vagrant-vcloud-0.4.1 lib/vagrant-vcloud/action/message_cannot_suspend.rb
vagrant-vcloud-0.4.0 lib/vagrant-vcloud/action/message_cannot_suspend.rb
vagrant-vcloud-0.3.3 lib/vagrant-vcloud/action/message_cannot_suspend.rb
vagrant-vcloud-0.3.2 lib/vagrant-vcloud/action/message_cannot_suspend.rb
vagrant-vcloud-0.3.1 lib/vagrant-vcloud/action/message_cannot_suspend.rb
vagrant-vcloud-0.3.0 lib/vagrant-vcloud/action/message_cannot_suspend.rb
vagrant-vcloud-0.2.2 lib/vagrant-vcloud/action/message_cannot_suspend.rb
vagrant-vcloud-0.2.1 lib/vagrant-vcloud/action/message_cannot_suspend.rb
vagrant-vcloud-0.2.0 lib/vagrant-vcloud/action/message_cannot_suspend.rb