lib/deepsecurity/transport_objects/host_group.rb
# Retrieves a HostGroup by ID.
# @param id [Integer] HostGroup ID
# @return [HostGroup]

Retrieves a HostGroup by ID.
Retrieves a HostGroup by ID .
def host_group(id)
      return nil if id.nil?
      cache.fetch(HostGroup.cache_key(:id, id)) do
        interface.hostGroupRetrieve(id)
      end
    end
def host_group ( id ) return nil if id . nil? cache . fetch ( HostGroup . cache_key ( :id , id ) ) do interface . hostGroupRetrieve ( id ) end end
Retrieves a HostGroup by ID.
Retrieves a HostGroup by ID .
None
HostGroup
id
None