class ZerigoDNS::HostTemplate < ZerigoDNS::Client include ZerigoDNS::Resource # Fetches the zone template to which the host template belongs. # @return [ZoneTemplate] The zone template to which the host template belongs. # @raise [ActiveResource::ResourceNotFound] if the zone template does not exist. def zone_template @zone_template ||= ZerigoDNS::ZoneTemplate.find(zone_template_id) end end