lib/deepsecurity/transport_objects/host.rb
# Retrieves a Host by name.
# @param hostname [String] hostname
# @return [Host]

Retrieves a Host by name.
Retrieves a Host by name .
def host_by_name(hostname)
      cache.fetch(Host.cache_key(:name, hostname)) do
        interface.hostRetrieveByName(hostname)
      end
    end
def host_by_name ( hostname ) cache . fetch ( Host . cache_key ( :name , hostname ) ) do interface . hostRetrieveByName ( hostname ) end end
Retrieves a Host by name.
Retrieves a Host by name .
None
Host
hostname
None