class Splicer::Records::SRVRecord
Attributes
port[RW]
priority[RW]
target[RW]
weight[RW]
Public Class Methods
new(name, target, port, priority=0, weight=0, ttl=300)
click to toggle source
@param [String] name the relative name @param [String] target the host name(fqdn) @param [Integer] port the port number @param [String] priority the priority @param [Integer] weight the weight @param [Integer] ttl the TTL in seconds
Calls superclass method
Splicer::Records::Record::new
# File lib/splicer/records/srv_record.rb, line 13 def initialize(name, target, port, priority=0, weight=0, ttl=300) super(name, ttl) @target = target @port = port @priority = priority @weight = weight end
Public Instance Methods
type()
click to toggle source
# File lib/splicer/records/srv_record.rb, line 21 def type 'SRV' end