Class: VagrantPlugins::AVF::Action::Destroy
- Inherits:
-
Object
- Object
- VagrantPlugins::AVF::Action::Destroy
- Defined in:
- lib/vagrant_provider_avf/action/destroy.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, _env, machine_id_store:, driver:) ⇒ Destroy
constructor
A new instance of Destroy.
Constructor Details
#initialize(app, _env, machine_id_store:, driver:) ⇒ Destroy
Returns a new instance of Destroy.
15 16 17 18 19 |
# File 'lib/vagrant_provider_avf/action/destroy.rb', line 15 def initialize(app, _env, machine_id_store:, driver:) @app = app @machine_id_store = machine_id_store @driver = driver end |
Instance Method Details
#call(env) ⇒ Object
21 22 23 24 |
# File 'lib/vagrant_provider_avf/action/destroy.rb', line 21 def call(env) destroy_machine @app.call(env) end |