class Splicer::Records::NSRecord

Attributes

server[RW]

Public Class Methods

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

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

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

Public Instance Methods

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