class HammerCLIKatello::CommandExtensions::Ping
Public Class Methods
Source
# File lib/hammer_cli_katello/command_extensions/ping.rb, line 17 def self.get_server_response(service_hash) if service_hash['duration_ms'] _("Duration: %sms") % service_hash['duration_ms'] elsif service_hash['message'] _("Message: %s") % service_hash['message'] end end