Sha256: 790eac547214e3be93eed67e8c86fa81c6a4fe7e05d84511819091cb6212da70

Contents?: true

Size: 381 Bytes

Versions: 3

Compression:

Stored size: 381 Bytes

Contents

class ZerigoDNS::HostTemplate < ZerigoDNS::Base
  
  # 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
zerigodns-1.0.2 lib/zerigodns/host_template.rb
zerigodns-1.0.1 lib/zerigodns/host_template.rb
zerigodns-1.0.0 lib/zerigodns/host_template.rb