class HammerCLIForeman::PingCommand::ForemanCommand
Public Instance Methods
execute()
click to toggle source
# File lib/hammer_cli_foreman/ping.rb, line 18 def execute response = send_request print_data(response) return 1 if HammerCLIForeman::CommandExtensions::Ping.failed?(response) HammerCLI::EX_OK end