Class: Opc::OpcOrgDelete
- Inherits:
-
Chef::Knife
- Object
- Chef::Knife
- Opc::OpcOrgDelete
- Includes:
- Chef::Mixin::RootRestv0
- Defined in:
- lib/chef/knife/opc_org_delete.rb
Instance Method Summary collapse
Methods included from Chef::Mixin::RootRestv0
Instance Method Details
#run ⇒ Object
27 28 29 30 31 |
# File 'lib/chef/knife/opc_org_delete.rb', line 27 def run org_name = @name_args[0] ui.confirm "Do you want to delete the organization #{org_name}" ui.output root_rest.delete("organizations/#{org_name}") end |