Class: VagrantPlugins::DataBags::Action::DestroyDataBags

Inherits:
Base
  • Object
show all
Defined in:
lib/vagrant-databags/action/destroy_databags.rb

Instance Method Summary collapse

Methods inherited from Base

#chef_provisioner_type, #initialize, #machine_chef_provisioners

Constructor Details

This class inherits a constructor from VagrantPlugins::DataBags::Action::Base

Instance Method Details

#call(env) ⇒ Object



9
10
11
12
13
14
# File 'lib/vagrant-databags/action/destroy_databags.rb', line 9

def call(env)
  env[:ui].detail "[vagrant-databags] Destroying temp data bags folder"
  DataBagsContainer.instance.destroy(env[:machine])

  @app.call(env)
end