Class: ForemanMco::Command::StartService
- Inherits:
-
ServiceBase
- Object
- Base
- ServiceBase
- ForemanMco::Command::StartService
- Defined in:
- app/models/foreman_mco/command/service_commands.rb
Instance Attribute Summary
Attributes inherited from ServiceBase
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from ServiceBase
Methods inherited from Base
#execute, #initialize, #mco_proxy
Constructor Details
This class inherits a constructor from ForemanMco::Command::ServiceBase
Instance Method Details
#remote_call ⇒ Object
25 26 27 |
# File 'app/models/foreman_mco/command/service_commands.rb', line 25 def remote_call mco_proxy.start_service(service_name, filters) end |
#to_s ⇒ Object
29 30 31 |
# File 'app/models/foreman_mco/command/service_commands.rb', line 29 def to_s "service start #{service_name}" end |