new(priority, weight, port, target)
public
Create a SRV resource record.
See the documentation for #priority, #weight, #port and #target for
priority, weight, +port and target respectively.
Show source
def initialize(priority, weight, port, target)
@priority = priority.to_int
@weight = weight.to_int
@port = port.to_int
@target = Name.create(target)
end