Module: Zonesync::RecordHash
- Defined in:
- lib/zonesync/record_hash.rb
Class Method Summary collapse
Class Method Details
.generate(record) ⇒ Object
7 8 9 10 |
# File 'lib/zonesync/record_hash.rb', line 7 def self.generate(record) identity = "#{record.name}:#{record.type}:#{record.ttl}:#{record.rdata}" Zlib.crc32(identity).to_s(36) end |