Class: ForemanMco::Command::Ping

Inherits:
Base
  • Object
show all
Defined in:
app/models/foreman_mco/command/ping.rb

Instance Attribute Summary

Attributes inherited from Base

#filters

Instance Method Summary collapse

Methods inherited from Base

#execute, #initialize, #mco_proxy

Constructor Details

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

Instance Method Details

#remote_callObject



3
4
5
# File 'app/models/foreman_mco/command/ping.rb', line 3

def remote_call
  mco_proxy.ping(filters)
end

#to_sObject



7
8
9
# File 'app/models/foreman_mco/command/ping.rb', line 7

def to_s
  "ping"
end