class Splicer::Records::ARecord
Attributes
ip[RW]
Public Class Methods
new(name, ip, ttl=300)
click to toggle source
@param [String] name the relative name @param [String] ip the IPv4 @param [Integer] ttl the TTL in seconds
Calls superclass method
# File lib/splicer/records/a_record.rb, line 10 def initialize(name, ip, ttl=300) super(name, ttl) @ip = ip end
Public Instance Methods
type()
click to toggle source
# File lib/splicer/records/a_record.rb, line 15 def type 'A' end