Class: VagrantPlugins::OpenNebulaProvider::Action::MessageNotCreated
- Inherits:
-
Object
- Object
- VagrantPlugins::OpenNebulaProvider::Action::MessageNotCreated
- Defined in:
- lib/opennebula-provider/action/messages.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, env) ⇒ MessageNotCreated
constructor
A new instance of MessageNotCreated.
Constructor Details
#initialize(app, env) ⇒ MessageNotCreated
Returns a new instance of MessageNotCreated.
37 38 39 |
# File 'lib/opennebula-provider/action/messages.rb', line 37 def initialize(app, env) @app = app end |
Instance Method Details
#call(env) ⇒ Object
41 42 43 44 |
# File 'lib/opennebula-provider/action/messages.rb', line 41 def call(env) env[:ui].info I18n.t('opennebula_provider.info.not_created') @app.call(env) end |