Sha256: 1e71bb6374b19da018d8395ee165434a98ec4ecdde5efc5a6b1149602817aab7
Contents?: true
Size: 448 Bytes
Versions: 45
Compression:
Stored size: 448 Bytes
Contents
module RecordStore class Record::NS < Record attr_accessor :nsdname validates :nsdname, presence: true, format: { with: Record::FQDN_REGEX, message: 'is not a fully qualified domain name', } def initialize(record) super @nsdname = Record.ensure_ends_with_dot(record.fetch(:nsdname)) end def rdata { nsdname: nsdname } end def rdata_txt nsdname end end end
Version data entries
45 entries across 45 versions & 1 rubygems