Class: VagrantPlugins::VSphere::Action::MessageNotSuspended

Inherits:
Object
  • Object
show all
Defined in:
lib/vSphere/action/message_not_suspended.rb

Instance Method Summary collapse

Constructor Details

#initialize(app, _env) ⇒ MessageNotSuspended

Returns a new instance of MessageNotSuspended.



9
10
11
# File 'lib/vSphere/action/message_not_suspended.rb', line 9

def initialize(app, _env)
  @app = app
end

Instance Method Details

#call(env) ⇒ Object



13
14
15
16
# File 'lib/vSphere/action/message_not_suspended.rb', line 13

def call(env)
  env[:ui].info I18n.t('vsphere.vm_not_suspended')
  @app.call(env)
end