Class: ForemanMco::Command::UninstallPackage

Inherits:
BasePackage show all
Defined in:
app/models/foreman_mco/command/package_commands.rb

Instance Attribute Summary

Attributes inherited from BasePackage

#package_name

Attributes inherited from Base

#filters

Instance Method Summary collapse

Methods inherited from BasePackage

#initialize

Methods inherited from Base

#execute, #initialize, #mco_proxy

Constructor Details

This class inherits a constructor from ForemanMco::Command::BasePackage

Instance Method Details

#remote_callObject



25
26
27
# File 'app/models/foreman_mco/command/package_commands.rb', line 25

def remote_call
  mco_proxy.uninstall_package(@package_name, filters)
end

#to_sObject



29
30
31
# File 'app/models/foreman_mco/command/package_commands.rb', line 29

def to_s
  "package uninstall #{package_name}"
end