Class: ForemanVirtWhoConfigure::Cleaner

Inherits:
Object
  • Object
show all
Defined in:
app/services/foreman_virt_who_configure/cleaner.rb

Instance Method Summary collapse

Instance Method Details

#clean_up!Object



3
4
5
6
7
8
# File 'app/services/foreman_virt_who_configure/cleaner.rb', line 3

def clean_up!
  User.as_anonymous_admin do
    remove_configurations
    remove_hidden_auth_sources
  end
end