class Splicer::Records::PTRRecord

Attributes

host[RW]

Public Class Methods

new(name, host, ttl=300) click to toggle source

@param [String] name the relative name @param [String] host the host name (fqdn) @param [Integer] ttl the TTL in seconds

Calls superclass method
# File lib/splicer/records/ptr_record.rb, line 10
def initialize(name, host, ttl=300)
  super(name, ttl)
  @host = host
end

Public Instance Methods

type() click to toggle source
# File lib/splicer/records/ptr_record.rb, line 15
def type
  'PTR'
end