class Splicer::Records::MXRecord

Attributes

exchanger[RW]
priority[RW]

Public Class Methods

new(name, exchanger, priority=0, ttl=300) click to toggle source

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

Calls superclass method
# File lib/splicer/records/mx_record.rb, line 11
def initialize(name, exchanger, priority=0, ttl=300)
  super(name, ttl)
  @exchanger = exchanger
  @priority = priority
end

Public Instance Methods

type() click to toggle source
# File lib/splicer/records/mx_record.rb, line 17
def type
  'MX'
end