Class: Actions::Katello::System::Destroy

Inherits:
EntryAction
  • Object
show all
Defined in:
app/lib/actions/katello/system/destroy.rb

Instance Method Summary collapse

Instance Method Details

#humanized_nameObject



11
12
13
# File 'app/lib/actions/katello/system/destroy.rb', line 11

def humanized_name
  _("Destroy Content Host")
end

#plan(system, options = {}) ⇒ Object



7
8
9
# File 'app/lib/actions/katello/system/destroy.rb', line 7

def plan(system, options = {})
  plan_action(Katello::Host::Destroy, system.foreman_host, options)
end