Class: ForemanMco::Command::InstallPackage

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



15
16
17
# File 'app/models/foreman_mco/command/package_commands.rb', line 15

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

#to_sObject



19
20
21
# File 'app/models/foreman_mco/command/package_commands.rb', line 19

def to_s
  "package install #{package_name}"
end