Sha256: 3dbf7688a90ac8bb866e8e660f94c6114f227b45e9512bb939d5f65d78894fa1

Contents?: true

Size: 419 Bytes

Versions: 1

Compression:

Stored size: 419 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zerigodns-1.1.0 lib/zerigodns/host_template.rb