Class: VagrantPlugins::OpenNebulaProvider::Action::MessageSuspended
- Inherits:
-
Object
- Object
- VagrantPlugins::OpenNebulaProvider::Action::MessageSuspended
- Defined in:
- lib/opennebula-provider/action/messages.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, env) ⇒ MessageSuspended
constructor
A new instance of MessageSuspended.
Constructor Details
#initialize(app, env) ⇒ MessageSuspended
Returns a new instance of MessageSuspended.
71 72 73 |
# File 'lib/opennebula-provider/action/messages.rb', line 71 def initialize(app, env) @app = app end |
Instance Method Details
#call(env) ⇒ Object
75 76 77 78 |
# File 'lib/opennebula-provider/action/messages.rb', line 75 def call(env) env[:ui].info I18n.t('opennebula_provider.info.suspended') @app.call(env) end |