Class: Net::DNS::RR::SOA

Inherits:
Object
  • Object
show all
Defined in:
lib/domain-probe/resolver_patch.rb

Instance Method Summary collapse

Instance Method Details

#to_hash(zone) ⇒ Object



64
65
66
67
68
69
70
71
72
73
# File 'lib/domain-probe/resolver_patch.rb', line 64

def to_hash zone
  super(zone).merge({ :mname => self.mname.to_s,
                      :rname => self.rname.to_s,
                      :serial => self.serial.to_s,
                      :refresh => self.refresh.to_s,
                      :retry => self.retry.to_s,
                      :expire => self.expire.to_s,
                      :minimum => self.minimum.to_s,
                      })
end